My-weather-indicator crashes on ubuntu 13.04

Bug #1189930 reported by Levan Chelidze
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
my-weather-indicator
Fix Released
Critical
Lorenzo Carbonell

Bug Description

It crashes when I try to enable it

Terminal output

<gettext.GNUTranslations object at 0x7f6559e18d90>
No LSB modules are available.
#####################################################
Distributor ID: Ubuntu
Description: Ubuntu 13.04
Release: 13.04
Codename: raring
Version: x86_64
#####################################################

My-Weather-Indicator version: 0.6.4
#####################################################
/home/levan/.config/my-weather-indicator/my-weather-indicator.conf True
Searching url: http://query.yahooapis.com/v1/public/yql?q=select * from geo.placefinder where text="41.697317436947785,44.83187955554199" and gflags="R" and locale="en_US"&format=json
{'query': {'created': '2013-06-11T14:39:53Z', 'count': 0, 'results': None, 'lang': 'en-US'}}
Error: 'NoneType' object is not subscriptable
Yahoo Weather Service, not found woeid
Traceback (most recent call last):
  File "/opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator", line 45, in <module>
    mwi=MWI()
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 135, in __init__
    self.load_preferences()
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 362, in load_preferences
    self.work()
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 192, in work
    self.set_menu()
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 471, in set_menu
    temporal_current_conditions = weather['current_conditions']
TypeError: 'NoneType' object is not subscriptable

Revision history for this message
Levan Chelidze (levanchelidze) wrote :
Revision history for this message
Levan Chelidze (levanchelidze) wrote :

it used to work but it is couple of days ago it stopped working

Revision history for this message
Patrik Spano (pa4k) wrote :

For me it's start but do nt show icon in unity uper bar.

It work on default ubuntu 13.04 kernel 3.7. It stop working after upgrade system to kernel 3.8.

Revision history for this message
Saikrishna Arcot (saiarcot895) wrote :

Can you try version 0.6.5?

Revision history for this message
Levan Chelidze (levanchelidze) wrote :

So far I can conform that 0.6.5 is working

Revision history for this message
Levan Chelidze (levanchelidze) wrote :

Update
it started crashing again

Revision history for this message
Levan Chelidze (levanchelidze) wrote :

I am not sure what is causing this error it is the app or something else so ignore my last comment

Revision history for this message
Saikrishna Arcot (saiarcot895) wrote :

If you run my-weather-indicator from Terminal, do you get the same stacktrace (starting at the line "Traceback (most recent call last):") and error as above?

Revision history for this message
Levan Chelidze (levanchelidze) wrote :

@Saikrishna Arcot

I have not experience that bug any more since the update ok once when something was wrong with the internet

Changed in my-weather-indicator:
assignee: nobody → Lorenzo Carbonell (lorenzo-carbonell)
importance: Undecided → Critical
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.