Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

i just installed Natty (64 bit) and Indicator-weather applet https://launchpad.net/ubuntu/+source/indicator-weather. I installed latest version via PPA but when i am trying to launch this applet (via terminal) i get this crash report

Traceback (most recent call last):  
  File "/usr/bin/indicator-weather", line 1837, in <module>
    wi = indicator_weather()  
  File "/usr/bin/indicator-weather", line 848, in __init__
    self.settings.prepare_settings_store()        
  File "/usr/bin/indicator-weather", line 76, in prepare_settings_store
    log.debug("Settings: DBus exception occurred:\n" % str(e))  
TypeError: not all arguments converted during string formatting  

In ~/.cache/indicator-weather.log i got these messages...

[MainThread] 2011-04-28 17:59:50,410 - INFO - ------------------------------  
[MainThread] 2011-04-28 17:59:50,410 - INFO - Started Weather Indicator from /usr  
[MainThread] 2011-04-28 17:59:50,410 - DEBUG - SingleInstance: writing new pid 30680  
[MainThread] 2011-04-28 17:59:50,412 - DEBUG - ProxyMonitor: loading dconf settings  
[MainThread] 2011-04-28 17:59:50,414 - DEBUG - ProxyMonitor: using direct connection  
[MainThread] 2011-04-28 17:59:50,415 - DEBUG - TimeFormatter: loading indicator-datetime settings: com.canonical.indicator.datetime  
[MainThread] 2011-04-28 17:59:50,415 - DEBUG - Time Formatter: time format changed  
[MainThread] 2011-04-28 17:59:50,415 - DEBUG - Indicator: creating  
[MainThread] 2011-04-28 17:59:50,430 - INFO - Monitoring UPower interface
[MainThread] 2011-04-28 17:59:50,430 - DEBUG - Indicator: reading settings  
[MainThread] 2011-04-28 17:59:50,430 - DEBUG - Settings: preparing settings store  
[Dummy-2] 2011-04-28 18:00:15,507 - DEBUG - SingleInstance: deleting /tmp/indicator-weather-0.pid  
[MainThread] 2011-04-28 18:27:37,827 - INFO - ------------------------------  
[MainThread] 2011-04-28 18:27:37,865 - INFO - Started Weather Indicator from /usr 
[MainThread] 2011-04-28 18:27:37,866 - DEBUG - SingleInstance: writing new pid 2549  
[MainThread] 2011-04-28 18:27:37,879 - DEBUG - ProxyMonitor: loading dconf settings  
[MainThread] 2011-04-28 18:27:37,881 - DEBUG - ProxyMonitor: using direct connection  
[MainThread] 2011-04-28 18:27:37,883 - DEBUG - TimeFormatter: loading indicator-datetime settings: com.canonical.indicator.datetime  
[MainThread] 2011-04-28 18:27:37,884 - DEBUG - Time Formatter: time format changed  
[MainThread] 2011-04-28 18:27:37,884 - DEBUG - Indicator: creating  
[MainThread] 2011-04-28 18:27:37,913 - INFO - Monitoring UPower interface  
[MainThread] 2011-04-28 18:27:37,913 - DEBUG - Indicator: reading settings  
[MainThread] 2011-04-28 18:27:37,914 - DEBUG - Settings: preparing settings store  
[Dummy-2] 2011-04-28 18:28:02,961 - DEBUG - SingleInstance: deleting /tmp/indicator-weather-0.pid   

Any idea how to fix it?

thx

share|improve this question
Try the version in the official Ubuntu 11.04 repositories - it works just fine for me. – Alin Andrei Apr 28 '11 at 17:32
1  

closed as off topic by Jorge Castro, Takkat, Marco Ceppi Jan 10 '12 at 20:02

Questions on Ask Ubuntu are expected to relate to Ubuntu within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.

1 Answer

Try to reinstall the latest source code of indicator-weather:

    sudo add-apt-repository ppa:weather-indicator-team/ppa

    sudo apt-get update

    sudo apt-get install indicator-weather

Also you should do an complete erase of the program before reinstalling it. And be sure you have Python installed.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.