Project

General

Profile

Tâche #29874

Scénario #29873: Corriger les templates 2.8.0 non compatibles python3

Mettre à niveau le template smb.conf (eole-ad-dc)

Added by Joël Cuissinat over 3 years ago. Updated over 3 years ago.

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

100%

Remaining (hours):
0.0

Description

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

Erreur lors de l'instanciation du template de /etc/samba/smb.conf : sequence item 0: expected str instance, int found

Associated revisions

Revision ee0e11b9 (diff)
Added by Benjamin Bohard over 3 years ago

Return str object method result.

Ref #29874

History

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

  • Subject changed from Mettre à niveau le template smb (eole-ad-dc) to Mettre à niveau le template smb.conf (eole-ad-dc)

#2 Updated by Benjamin Bohard over 3 years ago

  • Status changed from Nouveau to En cours

#3 Updated by Benjamin Bohard over 3 years ago

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/creole/template.py", line 436, in _process
    data = str(cheetah_template)  # .replace("{0}\n".format(UTF), '', 1)
  File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1053, in __unicode__
    return getattr(self, mainMethName)()
  File "_tmp_tmpfvs2tyj8.py", line 254, in respond
  File "/usr/lib/python3/dist-packages/creole/eosfunc.py", line 1268, in custom_join
    return separator.join([unicode(i) for i in multivar])
TypeError: sequence item 0: expected str instance, int found

#4 Updated by Benjamin Bohard over 3 years ago

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

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

  • Description updated (diff)

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

  • Status changed from Résolu to Fermé
  • Assigned To set to Benjamin Bohard
  • Remaining (hours) set to 0.0

Erreur disparue à partir du job n°50 et test "vert" depuis le n°51 ;)

Also available in: Atom PDF