My-weather-indicator 0.4.x (including 0.4.1.5) doesn't work at all on Ubuntu 10.04 "Lucid" - always crashes :(

Bug #809815 reported by Mantas Kriaučiūnas
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
my-weather-indicator
Won't Fix
Undecided
Unassigned
Baltix
New
Undecided
Unassigned

Bug Description

My-weather-indicator 0.4.x (including latest 0.4.1.5) doesn't work at all on Ubuntu 10.04 "Lucid" - always crashes after I choose locations in preferences dialog :(
It seems problem is in compatibility with older appindicator, because I get an error AttributeError: 'appindicator.Indicator' object has no attribute 'set_label' in terminal, here is full terminal output:

ubuntu@ubuntu:~$ /usr/share/my-weather-indicator/my-weather-indicator.py
2.05441621557 18.9505225647 2.05441621557 18.9505225647 2.05441621557 18.9505225647 2.05441621557 18.9505225647 2.07668909062 18.9321075724 2.07668909062 18.9321075724 2.09954706709 18.9128359928 2.09954706709 18.9128359928 2.12296548949 18.8927250757 2.12296548949 18.8927250757
########################################################
Condiciones actuales
{'moon_phase': 'Waxing Gibbous', 'moon_icon': 'mwi-moon12', 'temperature': '23.8 \xc2\xbaC', 'dew_point': '8.6 \xc2\xbaC', 'humidity': '38 %', 'condition_text': 'Partly cloudy', 'wind_condition': 'North at 6.4 km/h', 'condition_icon_dark': 'mwid-partly-cloudy', 'condition_icon_light': 'mwil-partly-cloudy', 'condition': 'partly cloudy', 'sunset': '21:57', 'sunrise': '05:03', 'feels_like': '23.8 \xc2\xbaC', 'condition_image': 'mwig-partly-cloudy'}
########################################################
Condiciones guardadas
None
Traceback (most recent call last):
  File "/usr/share/my-weather-indicator/my-weather-indicator.py", line 465, in <module>
    mwi=MWI()
  File "/usr/share/my-weather-indicator/my-weather-indicator.py", line 139, in __init__
    self.work()
  File "/usr/share/my-weather-indicator/my-weather-indicator.py", line 148, in work
    self.set_menu()
  File "/usr/share/my-weather-indicator/my-weather-indicator.py", line 225, in set_menu
    self.indicator.set_label(self.current_conditions['temperature'])
AttributeError: 'appindicator.Indicator' object has no attribute 'set_label'
ubuntu@ubuntu:~$

Revision history for this message
Mantas Kriaučiūnas (mantas) wrote :

I've found identifical bugreport in another project - Weather-indicator and they fixed this problem, see:
https://launchpad.net/weather-indicator/+bug/714045

I think you can use the same solution as weather-indicator, look at differences between rev 152 and 153 in Weather-indicator code version contol system :)

summary: - My-weather-indicator 0.4.1.3 doesn't work at all on Ubuntu 10.04 "Lucid"
- - always crashes :(
+ My-weather-indicator 0.4.x (including 0.4.1.5) doesn't work at all on
+ Ubuntu 10.04 "Lucid" - always crashes :(
Revision history for this message
Mantas Kriaučiūnas (mantas) wrote :

It seems this problem was introduced in 0.4.x series, see revision 19 in bazaar lp:my-weather-indicator (versions 0.3.3.0 and 0.3.2.8 from revision 18 starts fine on Ubuntu 10.04).
Please fix this bug - AFAIK it's not hard to copy the solution from Weather-indicator code, see: https://launchpad.net/weather-indicator/+bug/714045
(look at differences between rev 152 and 153 in Weather-indicator code version control system :)

description: updated
Changed in my-weather-indicator:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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