ML wrote:
> Hello everybody,
> 
> first of all let me thank you for this great software. I've just started
> playing with it and I'm starting to enjoy it.
> 
> I think I've found an issue in oneclick plugin. Here's the traceback I
> get when I try to access it:
> 
>> Traceback (most recent call last):
>>   File "/usr/lib/python2.5/site-packages/freevo/main.py", line 296, in 
>> eventhandler
>>     app.eventhandler(event)
>>   File "/usr/lib/python2.5/site-packages/freevo/util/benchmark.py", line 79, 
>> in origfunc
>>     return func(*args, **kwargs)
>>   File "/usr/lib/python2.5/site-packages/freevo/menu.py", line 872, in 
>> eventhandler
>>     self._handle_play_item(menu, event)
>>   File "/usr/lib/python2.5/site-packages/freevo/util/benchmark.py", line 79, 
>> in origfunc
>>     return func(*args, **kwargs)
>>   File "/usr/lib/python2.5/site-packages/freevo/menu.py", line 683, in 
>> _handle_play_item
>>     action(arg=arg, menuw=self)
>>   File "/usr/lib/python2.5/site-packages/freevo/plugins/oneclick.py", line 
>> 792, in create_locations_menu
>>     weather_item = WeatherItem(self, location)
>>   File "/usr/lib/python2.5/site-packages/freevo/plugins/oneclick.py", line 
>> 346, in __init__
>>     self.getForecast()
>>   File "/usr/lib/python2.5/site-packages/freevo/plugins/oneclick.py", line 
>> 355, in getForecast
>>     self.updateData()
>>   File "/usr/lib/python2.5/site-packages/freevo/plugins/oneclick.py", line 
>> 388, in updateData
>>     popup = PopupBox(text=_('Fetching Weather for %s...') % self.popupParam)
>> TypeError: not all arguments converted during string formatting
> 
> Here are the config lines:
> 
> plugin.activate('oneclick', level=45)
> ONECLICK_LOCATIONS = [
>     ("ITXX0081", True, None, "Torino")
> ]

What language are you using? This is an update of the translations 
problem. I think you will find "Fetching Weather for %s..." is incorrect 
in the freevo.po file.

Some of the translations are hopelessly out of date and if anyone has a 
bit of time and skill they are more than welcome to provide updates to 
or new translations. The how to is here: http://doc.freevo.org/Translations

HTH
Duncan

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to