Project

General

Profile

Tâche #30482

Scénario #30270: Portage python3 de l'EAD2

Étude des dysfonctionnements sur le module Amon

Added by Benjamin Bohard almost 4 years ago. Updated over 3 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
06/02/2020
Due date:
% Done:

100%

Remaining (hours):
0.0

History

#1 Updated by Benjamin Bohard almost 4 years ago

  • Status changed from Nouveau to En cours

#2 Updated by Benjamin Bohard almost 4 years ago

ConfigParser n’accepte plus les doublons au chargement des permissions (fichiers au format ini)

#3 Updated by Benjamin Bohard almost 4 years ago

Le backend amon nécessite un portage en python3 (erreurs de syntaxe) :
- amon/era/postes.py
- amon/regles_admin.py
- amon/backend.py
- amon/ipset/group_manager.py
- amon/ipset/time_manager.py
- amon/ipset/rule_generator.py

#4 Updated by Benjamin Bohard almost 4 years ago

Pour l’action Règles du pare-feu

Traceback: <class 'NameError'>: name 'file' is not defined
/usr/lib/python3/dist-packages/twisted/internet/defer.py:151:maybeDeferred
/usr/share/ead2/backend/lib/eadserver.py:482:xmlrpc_execute_action
/usr/lib/python3/dist-packages/twisted/internet/defer.py:321:addCallback
/usr/lib/python3/dist-packages/twisted/internet/defer.py:311:addCallbacks
--- <exception caught here> ---
/usr/lib/python3/dist-packages/twisted/internet/defer.py:654:_runCallbacks
/usr/share/ead2/backend/lib/execute_wrapper.py:18:wrapper
/usr/share/ead2/backend/actions/amon/regles_generales.py:50:execute
/usr/share/ead2/backend/actions/amon/regles_form.py:24:get_regles_form
/usr/lib/python3/dist-packages/amon/era/regles.py:18:load

#5 Updated by Benjamin Bohard almost 4 years ago

Pour l’action Visites des sites (uniquement pour le filtre web 1).

Traceback: <class 'NameError'>: name 'cmp' is not defined
/usr/lib/python3/dist-packages/twisted/internet/defer.py:151:maybeDeferred
/usr/share/ead2/backend/lib/eadserver.py:482:xmlrpc_execute_action
/usr/lib/python3/dist-packages/twisted/internet/defer.py:321:addCallback
/usr/lib/python3/dist-packages/twisted/internet/defer.py:311:addCallbacks
--- <exception caught here> ---
/usr/lib/python3/dist-packages/twisted/internet/defer.py:654:_runCallbacks
/usr/share/ead2/backend/lib/execute_wrapper.py:18:wrapper
/usr/share/ead2/backend/actions/amon/navigation_visit_admin.py:83:execute
/usr/share/ead2/backend/actions/amon/visit_form.py:21:get_visit_form
/usr/share/ead2/backend/actions/lib/logparser/file_listing.py:94:get_logs_for_form
/usr/share/ead2/backend/actions/lib/logparser/file_listing.py:84:get_logs
/usr/share/ead2/backend/actions/lib/logparser/file_listing.py:122:compare_func

#6 Updated by Benjamin Bohard almost 4 years ago

Pour l’action Sites

Traceback: <class 'AttributeError'>: '_io.TextIOWrapper' object has no attribute 'xreadlines'
/usr/lib/python3/dist-packages/twisted/internet/defer.py:151:maybeDeferred
/usr/share/ead2/backend/lib/eadserver.py:482:xmlrpc_execute_action
/usr/lib/python3/dist-packages/twisted/internet/defer.py:321:addCallback
/usr/lib/python3/dist-packages/twisted/internet/defer.py:311:addCallbacks
--- <exception caught here> ---
/usr/lib/python3/dist-packages/twisted/internet/defer.py:654:_runCallbacks
/usr/share/ead2/backend/lib/execute_wrapper.py:18:wrapper
/usr/share/ead2/backend/actions/amon/navigation_filters_admin.py:68:execute
/usr/share/ead2/backend/actions/amon/forms.py:110:get_opt_filters_form
/usr/lib/python3/dist-packages/amon/guardian/dans_tools.py:247:load_category_list
/usr/lib/python3/dist-packages/amon/guardian/dans_tools.py:182:handle_policy_files
/usr/lib/python3/dist-packages/amon/guardian/dans_tools.py:233:read_status_of_categories

#7 Updated by Benjamin Bohard almost 4 years ago

Pour l’action Utilisateurs

Traceback: <class 'NameError'>: name 'file' is not defined
/usr/lib/python3/dist-packages/twisted/internet/defer.py:151:maybeDeferred
/usr/share/ead2/backend/lib/eadserver.py:482:xmlrpc_execute_action
/usr/lib/python3/dist-packages/twisted/internet/defer.py:321:addCallback
/usr/lib/python3/dist-packages/twisted/internet/defer.py:311:addCallbacks
--- <exception caught here> ---
/usr/lib/python3/dist-packages/twisted/internet/defer.py:654:_runCallbacks
/usr/share/ead2/backend/lib/execute_wrapper.py:18:wrapper
/usr/share/ead2/backend/actions/amon/user_admin.py:89:execute
/usr/share/ead2/backend/actions/amon/user.py:57:get_list
/usr/share/ead2/backend/actions/amon/user.py:36:get_users
/usr/lib/python3/dist-packages/amon/guardian/dans_tools.py:109:get_policies

#8 Updated by Benjamin Bohard almost 4 years ago

  • Assigned To set to Benjamin Bohard

#9 Updated by Emmanuel GARETTE almost 4 years ago

  • Status changed from En cours to Résolu

#10 Updated by Joël Cuissinat over 3 years ago

  • Status changed from Résolu to Fermé
  • % Done changed from 0 to 100
  • Remaining (hours) set to 0.0

Globalement OK

Also available in: Atom PDF