Talk:Mokometeo
From Openmoko
(New page: 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,...) |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 16: | Line 16: | ||
File "/usr/lib/python2.6/shutil.py", line 53, in copyfile | File "/usr/lib/python2.6/shutil.py", line 53, in copyfile | ||
fdst = open(dst, 'wb') | fdst = open(dst, 'wb') | ||
− | IOError: [Errno 2] No such file or directory: '/home/root/.mokometeo/img/question.png' | + | 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 [[User:Fgau|Fgau]] 07:23, 30 June 2009 (UTC) | ||
+ | |||
+ | This is a great idea. I just did not know there was an api ;) . Since I have no time any more, could you please help improving mokometeo by commiting patches ? See : http://n2.nabble.com/Mokometeo---not-time-but-people-willing-to-help%2C-so..-td3180188ef1958.html [[User:kimaidou|kimaidou]] |
Latest revision as of 13:59, 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)
This is a great idea. I just did not know there was an api ;) . Since I have no time any more, could you please help improving mokometeo by commiting patches ? See : http://n2.nabble.com/Mokometeo---not-time-but-people-willing-to-help%2C-so..-td3180188ef1958.html kimaidou