Talk:Mokometeo

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(yahoo weather api)
Line 22: Line 22:
 
Some code is missing to do it automatically.
 
Some code is missing to do it automatically.
 
Once done, it should be ok :D
 
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 [[User:Fgau|Fgau]] 07:23, 30 June 2009 (UTC)

Revision as of 08:23, 30 June 2009

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)

Personal tools

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