Project

General

Profile

Tâche #30275

Scénario #30148: Traitement express MEN (22-24)

Finaliser la migration d'eolesql en python3

Added by Fabrice Barconnière over 3 years ago. Updated over 3 years ago.

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

100%

Estimated time:
0.00 h
Remaining (hours):
0.0

Description

https://dev-eole.ac-dijon.fr/jenkins/job/2.8.0/job/test-instance-acascribe-2.8.0-amd64/87/parsed_console/

run-parts: executing /usr/share/eole/posttemplate/00-bareos instance                                                                                                                          
Traceback (most recent call last):                                                                                                                                                            
  File "<string>", line 1, in <module>                                                                                                                                                        
ImportError: No module named eolesql.db_test                                                                                                                                                  
/usr/share/eole/sbin/bareosregen.sh: ligne 42 : [: = : opérateur unaire attendu

[.....]

run-parts: executing /usr/share/eole/posttemplate/00-mysql instance
Traceback (most recent call last):
  File "/usr/share/eole/sbin/gen_databases.py", line 26, in <module>
    from eolesql.log import log_console, log
ImportError: No module named eolesql.log

Traceback (most recent call last):
  File "/usr/share/eole/sbin/update_databases.py", line 22, in <module>
    from eolesql.config import ROOT_USERNAME
ImportError: No module named eolesql.config

Related issues

Related to Distribution EOLE - Tâche #29752: Le script de restauration de Mysql utilise une fonction de la librairie eolesql non disponible en python3 Fermé 03/19/2020

Associated revisions

Revision 13e4d0ba (diff)
Added by Joël Cuissinat over 3 years ago

  • bareosregen.sh : use python3

Ref: #30275

Revision 93264ee3 (diff)
Added by Joël Cuissinat over 3 years ago

Update all shebang to python3

Ref: #30275

Revision 3b1cfe87 (diff)
Added by Joël Cuissinat over 3 years ago

Fix python3 syntax errors

Ref: #30275

Revision 02c0d0ff (diff)
Added by Joël Cuissinat over 3 years ago

Fix other python3 syntax errors

Ref: #30275

Revision 4aaef39c (diff)
Added by Joël Cuissinat over 3 years ago

Upgrade dict4ini to 0.9.9

Ref: #30275

Revision 5a017ccc (diff)
Added by Joël Cuissinat over 3 years ago

Last fixes

Ref: #30275

History

#1 Updated by Fabrice Barconnière over 3 years ago

  • Description updated (diff)

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

  • Status changed from Nouveau to En cours
  • Assigned To set to Joël Cuissinat

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

  • Description updated (diff)

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

  • Related to Tâche #29752: Le script de restauration de Mysql utilise une fonction de la librairie eolesql non disponible en python3 added

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

  • Status changed from En cours to Résolu
  • % Done changed from 0 to 100

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

  • Status changed from Résolu to En cours

Je suis allé un peu vite...

  File "/usr/share/eole/sbin/gen_databases.py", line 63
    print DOC
          ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(DOC)?

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

  • Parent task deleted (#30148)

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

  • Tracker changed from Tâche to Scénario
  • Subject changed from Erreurs posttemplate Scribe 2.8.0 to Finaliser la migration d'eolesql en python3
  • Due date set to 06/12/2020
  • Release set to EOLE 2.8.0
  • Story points set to 1.0

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

  • Parent task set to #30148

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

  • Status changed from En cours to Résolu
  • % Done changed from 0 to 100
  • Estimated time set to 0.00 h

#12 Updated by Fabrice Barconnière over 3 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF