View source for Talk:Mokometeo
From Openmoko
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page:
Return to Talk:Mokometeo.
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page:
Return to Talk:Mokometeo.
i get an error on shr-testing:
root@om-gta02 ~ $ DISPLAY=:0 mokometeo
Loading configuration...
No backup data...
Traceback (most recent call last):
File "/usr/bin/mokometeo", line 269, in <module> app = mokoMeteoGTK() File "/usr/bin/mokometeo", line 46, in __init__ self.LoadBackup(self) File "/usr/bin/mokometeo", line 136, in LoadBackup shutil.copy('/usr/share/mokometeo/question.png', os.path.expanduser('~/.mokometeo/img/question.png') ) File "/usr/lib/python2.6/shutil.py", line 88, in copy copyfile(src, dst) File "/usr/lib/python2.6/shutil.py", line 53, in copyfile fdst = open(dst, 'wb') IOError: [Errno 2] No such file or directory: '/home/root/.mokometeo/img/question.png'
Sorry for that, it is a bug. You have to manually copy the file question.png from /usr/share/mokometeo/ to /home/root/.mokometeo/img/
Some code is missing to do it automatically.
Once done, it should be ok :D
why dont you use the yahoo api? see my own project here. https://epydial-svn.pyneo.org/svn/epydial/weather_screen.py Fgau 07:23, 30 June 2009 (UTC)