my-weather-indicator 0.6.1.2.quantal.1-1ubuntu1 not starting

Bug #1163605 reported by Bob
46
This bug affects 10 people
Affects Status Importance Assigned to Milestone
my-weather-indicator
Confirmed
Undecided
Unassigned

Bug Description

my-weather-indicator 0.6.1.2.quantal.1-1ubuntu1
Ubuntu 12.10
I just installed the weather indicator and find the icon in the dash and click on it to start and it doesn't.

Any ideas?

Revision history for this message
Chris (kyfho23) wrote :

Confirm. Starting from a terminal gives the following output:

/opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator
/home/alien
<gettext.GNUTranslations object at 0x1360cd0>
No LSB modules are available.
#####################################################
Distributor ID: Ubuntu
Description: Ubuntu 12.10
Release: 12.10
Codename: quantal
Version: x86_64
#####################################################

My-Weather-Indicator version: 0.6.1.2.quantal.1
#####################################################
/home/alien/.config/my-weather-indicator/my-weather-indicator.conf True
b'{"time":"2013-04-02 23:55","countryName":"United States","sunset":"2013-04-03 20:07","rawOffset":-5,"dstOffset":-4,"countryCode":"US","gmtOffset":-5,"lng":-85.8591285,"sunrise":"2013-04-03 07:26","timezoneId":"America/New_York","lat":37.693952}'
Searching url: http://where.yahooapis.com/geocode?q=37.693952,+-85.8591285&gflags=R&flags=J&appid=_slN0oHV34Exg09kl5EASmbGBs5y3GJES1N.Oon0wd5Lnh6E5hGdtQmx_MdxpOxKAzftS1dB0yNI_NzTpWaKFXEm
GID HTTP Error 404: Not Found
Yahoo Weather Service, not found woeid
Traceback (most recent call last):
  File "/opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator", line 46, in <module>
    mwi=MWI()
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 136, in __init__
    self.load_preferences()
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 363, in load_preferences
    self.work()
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 196, in work
    self.set_menu()
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 465, in set_menu
    temporal_current_conditions = weather['current_conditions']
TypeError: 'NoneType' object is not subscriptable

This was after purging and re-installing. However, MWI was not starting from the original install, which did NOT use Yahoo-I got an API key from WeatherUnderground.

This leads me to believe it's not a problem with Yahoo.

Revision history for this message
carega (crlsmuoz5) wrote :

I am having the same problem. In the dash my-weather-indicator does appear but does not start. It does not autostart and the command 'my-weather-indicator' is not found when trying to open it on terminal, even though I can open it if I go to where the command is located. Any help with this?

Revision history for this message
Miguel (legolin) wrote :

Same problem with ubuntu 12.04.2. It seems to be a problem with Yahoo.

miguel@miguel-Aspire-5542:~$ /opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator
/home/miguel
<gettext.GNUTranslations instance at 0x7ffec4178050>
#####################################################
LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch
Distributor ID: Ubuntu
Description: Ubuntu 12.04.2 LTS
Release: 12.04
Codename: precise
Version: x86_64
#####################################################

My-Weather-Indicator version: 0.6.1.2.precise.1
#####################################################
('/home/miguel/.config/my-weather-indicator/my-weather-indicator.conf', True)
{"time":"2013-04-03 11:33","countryName":"Spain","sunset":"2013-04-03 20:36","rawOffset":1,"dstOffset":2,"countryCode":"ES","gmtOffset":1,"lng":-1.97499342945,"sunrise":"2013-04-03 07:47","timezoneId":"Europe/Madrid","lat":43.3128301277}
Searching url: http://where.yahooapis.com/geocode?q=43.3128301277,+-1.97499342945&gflags=R&flags=J&appid=_slN0oHV34Exg09kl5EASmbGBs5y3GJES1N.Oon0wd5Lnh6E5hGdtQmx_MdxpOxKAzftS1dB0yNI_NzTpWaKFXEm
GID HTTP Error 404: Not Found
Yahoo Weather Service, not found woeid
Traceback (most recent call last):
  File "/opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator", line 46, in <module>
    mwi=MWI()
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 136, in __init__
    self.load_preferences()
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 363, in load_preferences
    self.work()
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 196, in work
    self.set_menu()
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 465, in set_menu
    temporal_current_conditions = weather['current_conditions']
TypeError: 'NoneType' object has no attribute '__getitem__'

Revision history for this message
Dave H (dave-hills-2009) wrote :

This affects me too, Booted my Ubuntu 12.10 Laptop yesterday and My-Weather-indicator just doesn't run any more, got a crash report that auto reported. Tried re-installing - no effect.

Revision history for this message
CitizenKlaw (joelpomales) wrote :

Not working for me. Uninstalled and reinstalled and it doesn't even load.

Revision history for this message
Miguel (legolin) wrote :

I erased ~/.config/my-weather-indicator/my-weather-indicator.conf and the problem seems to be solved. Just make sure you are selecting any weather service that is not Yahoo when you configure the program.

Revision history for this message
Chris (kyfho23) wrote : Re: [Bug 1163605] Re: my-weather-indicator 0.6.1.2.quantal.1-1ubuntu1 not starting

I don't know how I missed the .config entry...I did go looking for it!
Anyway, working now.

On Wed, Apr 3, 2013 at 6:56 PM, Miguel <email address hidden> wrote:

> I erased ~/.config/my-weather-indicator/my-weather-indicator.conf and
> the problem seems to be solved. Just make sure you are selecting any
> weather service that is not Yahoo when you configure the program.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1163605
>
> Title:
> my-weather-indicator 0.6.1.2.quantal.1-1ubuntu1 not starting
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/my-weather-indicator/+bug/1163605/+subscriptions
>

--
Check out my favorite radio station: Radio
Paradise<http://www.radioparadise.com/index.php>

*When the going gets weird, The weird turn pro ~ Hunter S. Thompson*
*
*
*
*

Revision history for this message
Joseph W. Walker (josephw-walker) wrote :

i just edited ~/.config/my-weather-indicator/my-weather-indicator.conf and remove the line specifying Yahoo! That worked, but the app stuck and I had to reboot. After reboot no problems. The app takes a long time to process changes and sometimes freezes forcing a reboot 0n 12.10.

Revision history for this message
Dave H (dave-hills-2009) wrote :

Editing my-weather-indicator.conf as described above worked for me too, many thanks.

Revision history for this message
paulf (paulf-linux-launchpad) wrote :

I removed the .conf file and then reran the program. as long as i didnt change my location and took all the defaults it seems to work. as soon as i tried to change my location it hung.

Revision history for this message
Bob (bbrazie) wrote :

I have found that it doesn't really hang it just takes a l o n g time to process the information.
Just wait it out. <g>

Cas (calumlind)
Changed in my-weather-indicator:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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