Project

General

Profile

Tâche #12517

Updated by Emmanuel IHRY almost 9 years ago

sur le serveur 1-1465, erreur lors de l'exécution du script python

/etc/cron.d# /root/scripts/infocentre/infocentre.py -s stats.eole.i2 -d uploads -f /root/scripts/infocentre/variables/variables.ini
Traceback (most recent call last):
File "/root/scripts/infocentre/infocentre.py", line 101, in <module>
main()
File "/root/scripts/infocentre/infocentre.py", line 97, in main
stats = write_stats(conf_out)
File "/root/scripts/infocentre/infocentre.py", line 65, in write_stats
conf_out.write(ic)
File "/root/scripts/infocentre/SafeUTF8ConfigParser.py", line 12, in write
fp.write("{0} = {1}\n".format(key, unicode(value).replace('\n', '\n\t').encode('utf8')))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 28: ordinal not in range(128)
root@sbl-dom-pne-t1:/etc/cron.d#

Back