Salut, Moi quand je lance le script comme enoncé dans la doc, tout marche bien en apparences, mais le fichier xml ne se créer pas ! voila ce que renvoi la console :
2009-08-02 23:55:48,088 DEBUG completion
2009-08-02 23:55:56,602 DEBUG city
2009-08-02 23:56:15,740 DEBUG select dir image
2009-08-02 23:56:15,740 DEBUG check
2009-08-02 23:56:17,972 DEBUG select dir xml
2009-08-02 23:56:17,972 DEBUG check
2009-08-02 23:56:17,981 DEBUG select dir xml
2009-08-02 23:56:17,981 DEBUG check
2009-08-02 23:56:23,008 DEBUG toggle generate
True
2009-08-02 23:56:26,565 DEBUG toggle cron
True
2009-08-02 23:56:30,240 DEBUG add cron
2009-08-02 23:56:30,290 DEBUG No crontab before
2009-08-02 23:56:30,330 DEBUG delete cron :background
2009-08-02 23:56:30,360 DEBUG new cron : */15 * * * * /usr/bin/python "/home/marso2604/Documents/personalisation ubuntu/meteo wallpaper/WallDyn/newbackground.py" -i "/home/marso2604/Documents/personalisation ubuntu/meteo wallpaper/SkyCity" -x "/home/marso2604/Documents/Developpement" -v FRXX0020
2009-08-02 23:56:30,361 DEBUG add cron :*/15 * * * * /usr/bin/python "/home/marso2604/Documents/personalisation ubuntu/meteo wallpaper/WallDyn/newbackground.py" -i "/home/marso2604/Documents/personalisation ubuntu/meteo wallpaper/SkyCity" -x "/home/marso2604/Documents/Developpement" -v FRXX0020
2009-08-02 23:56:30,361 DEBUG genrate xml
Traceback (most recent call last):
File "/home/marso2604/Documents/personalisation ubuntu/meteo wallpaper/WallDyn/backgroundG", line 287, in _cb_apply
main(self.data["refcity"],self.data["filexml"],self.data["fileimage"])
File "/home/marso2604/Documents/personalisation ubuntu/meteo wallpaper/WallDyn/newbackground.py", line 98, in main
sunrise = the_weather.sunrise()
File "/home/marso2604/Documents/personalisation ubuntu/meteo wallpaper/WallDyn/newbackground.py", line 343, in sunrise
result.fromStr(self._recup([('loc','0'),('sunr','0'),'0']))
File "/home/marso2604/Documents/personalisation ubuntu/meteo wallpaper/WallDyn/newbackground.py", line 353, in _recup
result = eval(parse)
File "<string>", line 1, in <module>
IndexError: list index out of range
2009-08-02 23:56:30,727 DEBUG destroy