The applet don't launch on Ubuntu 15.04 on the last update

Asked by rafael_henrique on 2016-04-02

Dear,

After the last update of MWI (0.7.3) the applet simply don't open on Ubuntu 15.04. There's not error messages or warnings, just this information:

<gettext.GNUTranslations object at 0x7fd52e941908>
#####################################################
System: Linux
Machine: x86_64
Node: rafaelhso01
Release: 3.19.0-58-generic
Version: #64-Ubuntu SMP Thu Mar 17 18:30:04 UTC 2016
Platform: Linux-3.19.0-58-generic-x86_64-with-Ubuntu-15.04-vivid
#####################################################

My-Weather-Indicator version: 0.7.3-0extras15.10.0
#####################################################

Can you please help me?

Question information

Language:
English Edit question
Status:
Open
For:
my-weather-indicator Edit question
Assignee:
No assignee Edit question
Last query:
2016-04-02
Last reply:
Marco Mugnaini (marco-mugna) said : #1

Same problem here. Ubuntu 16.04. Here the log:

/opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator:29: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded.
  from gi.repository import Notify
<gettext.GNUTranslations object at 0x7f9b38010be0>
/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py:31: PyGIWarning: AppIndicator3 was imported without specifying a version first. Use gi.require_version('AppIndicator3', '0.1') before import to ensure that the right version gets loaded.
  from gi.repository import AppIndicator3 as appindicator
Traceback (most recent call last):
  File "/opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator", line 44, in <module>
    from myweatherindicator import MWI
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 37, in <module>
    import preferences
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/preferences.py", line 30, in <module>
    import geocodeapi
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/geocodeapi.py", line 31, in <module>
    import yql
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/yql/__init__.py", line 19, in <module>
    from httplib2 import Http
  File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 51, in <module>
    import ssl
  File "/usr/lib/python3.5/ssl.py", line 90, in <module>
    import ipaddress
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/ipaddress.py", line 29, in <module>
    from geocodeapi import get_inv_direction
ImportError: cannot import name 'get_inv_direction'

same here ubuntu 16.04, by the way just got an update right now and still no applet launching

 /opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator
/opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator:27: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk
/opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator:28: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded.
  from gi.repository import Notify
<gettext.GNUTranslations object at 0x7fed58ff8f28>
/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py:31: PyGIWarning: AppIndicator3 was imported without specifying a version first. Use gi.require_version('AppIndicator3', '0.1') before import to ensure that the right version gets loaded.
  from gi.repository import AppIndicator3 as appindicator
Traceback (most recent call last):
  File "/opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator", line 58, in <module>
    from myweatherindicator import MWI
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 37, in <module>
    import preferences
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/preferences.py", line 30, in <module>
    import geocodeapi
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/geocodeapi.py", line 30, in <module>
    import yql
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/yql/__init__.py", line 19, in <module>
    from httplib2 import Http
  File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 51, in <module>
    import ssl
  File "/usr/lib/python3.5/ssl.py", line 90, in <module>
    import ipaddress
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/ipaddress.py", line 29, in <module>
    from geocodeapi import get_inv_direction
ImportError: cannot import name 'get_inv_direction'

D. Charles Pyle (dcharlespyle) said : #3

I was getting these same errors. 0.7.10-0extras15.10.1 fixed these issues for me on 16.04.

Can you help with this problem?

Provide an answer of your own, or ask rafael_henrique for more information if necessary.

To post a message you must log in.