Project

General

Profile

Actions

New feature / Change #6056

closed

Bug ajout individu

Added by Olivier Bitsch about 2 years ago. Updated about 2 years ago.

Status:
Done
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
07/21/2023
Due date:
% Done:

0%

Estimated time:

Description

## 21/07/2023 15:27:39 | 1.3.2.4 | wxPython 4.2.0 gtk3 (phoenix) wxWidgets 3.2.2 | linux Linux 6.3.11-x64v3-xanmod1 x86_64 ##
Traceback (most recent call last):
  File "/usr/share/noethys/Ctrl/CTRL_Recherche_individus.py", line 69, in Ajouter_famille
    self.GetParent().ctrl_listview.Ajouter(None)
  File "/usr/share/noethys/Ol/OL_Individus.py", line 486, in Ajouter
    dlg = DLG_Famille.Dialog(self, IDfamille=None)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/noethys/Dlg/DLG_Famille.py", line 218, in __init__
    self.CreateIDfamille()
  File "/usr/share/noethys/Dlg/DLG_Famille.py", line 760, in CreateIDfamille
    self.IDfamille = CreateIDfamille(DB)
                     ^^^^^^^^^^^^^^^^^^^
  File "/usr/share/noethys/Dlg/DLG_Famille.py", line 53, in CreateIDfamille
    internet_mdp = UTILS_Internet.CreationMDP(nbreCaract=taille)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/noethys/Utils/UTILS_Internet.py", line 64, in CreationMDP
    mdp = cryptage.encrypt(mdp)
          ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/noethys/Utils/UTILS_Cryptage_fichier.py", line 220, in encrypt
    iv = Random.new().read(AES.block_size)
         ^^^^^^
NameError: name 'Random' is not defined
Actions

Also available in: Atom PDF