Project

General

Profile

Tâche #12520

Scénario #12516: Résolution de problèmes divers sur l'infocentre

Autre erreur lors de l'exécution du script python

Added by Emmanuel IHRY about 8 years ago. Updated about 8 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
08/31/2015
Due date:
% Done:

0%

Estimated time:
2.00 h
Spent time:
Remaining (hours):
0.0

Description

serveur 1-1098

sbl-dir-a-02:/etc/cron.d# /root/scripts/infocentre/infocentre.py -s stats.eole.i2 -d uploads -f /root/scripts/infocentre/variables/variables.
Traceback (most recent call last):
File "/root/scripts/infocentre/infocentre.py", line 101, in <module>
main()
File "/root/scripts/infocentre/infocentre.py", line 96, in main
conf_out = extract_infos(conf_in)
File "/root/scripts/infocentre/infocentre.py", line 41, in extract_infos
for variable, value in creole_provider.get_values(conf_in.items('creole')).items():
File "/usr/lib/python2.6/ConfigParser.py", line 564, in items
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'creole'

History

#1 Updated by Emmanuel IHRY about 8 years ago

  • Assigned To set to Benjamin Bohard
  • Distribution changed from EOLE 2.5 to EOLE 2.4

A corriger sur 2.4 et 2.3
et à reporter sur 2.5

#2 Updated by Benjamin Bohard about 8 years ago

À préciser : est-ce que le fichier /root/scripts/infocentre/variables/variables existe bien ?

#3 Updated by Benjamin Bohard about 8 years ago

  • Estimated time set to 2.00 h
  • Remaining (hours) set to 2.0

#4 Updated by Emmanuel IHRY about 8 years ago

  • Status changed from Nouveau to Fermé
  • Remaining (hours) changed from 2.0 to 0.0

il y avait effectivement une erreur dans l'exécution de la ligne de commande.

/root/scripts/infocentre/infocentre.py -s stats.eole.i2 -d uploads -f /root/scripts/infocentre/variables/variables.ini
--> ne renvoie pas d'erreur

--> on peut fermer la fiche

Also available in: Atom PDF