Gnome15 Indicator and g15-desktop-service suddenly fail to start on Raring 13.04

Bug #1113402 reported by MC Return
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome15
Won't Fix
Undecided
Nuno Araujo

Bug Description

The Quantal version was running smoothly here on Raring with a G19 keyboard and I was enjoying all the great functionality, the Gnome15 software was providing, a lot. So first I want to thank you for your awesome work, it is highly appreciated !!!

Unfortunately after recent Raring updates, Gnome15 now completely fails to start...

If I try to start g15-desktop-service I get this:

Traceback (most recent call last):
  File "/usr/bin/g15-desktop-service", line 131, in <module>
    start_service(options)
  File "/usr/bin/g15-desktop-service", line 85, in start_service
    import gnome15.g15service as g15service
  File "/usr/lib/python2.7/dist-packages/gnome15/g15service.py", line 23, in <module>
    from gnome15 import g15accounts
  File "/usr/lib/python2.7/dist-packages/gnome15/g15accounts.py", line 35, in <module>
    import g15util
  File "/usr/lib/python2.7/dist-packages/gnome15/g15util.py", line 28, in <module>
    import Image
ImportError: No module named Image

Please make Gnome15 compatible to and run on Raring also.

Revision history for this message
Nuno Araujo (russo79) wrote :

This is a upstream problem.
Take a look at https://bugs.launchpad.net/ubuntu/+source/python-imaging/+bug/1112496
You can either downgrade a previous version or wait for the upstream bug to be resolved.

Changed in gnome15:
status: New → Won't Fix
assignee: nobody → Nuno Araujo (russo79)
Revision history for this message
MC Return (mc-return) wrote :

russo79, thanks a lot for the fast response, answer and proposed solution :)

Revision history for this message
Nuno Araujo (russo79) wrote :

MC Return

For information, you can currently work around this problem by manually modifying all the gnome15 files.

You need to do the following replacements:
"import Image" -> "import PIL.Image"
"import ImageMath" -> "import PIL.ImageMath"
"import ImageOps" -> "import PIL.ImageOps"

In the following files (I am not sure that this list is complete):
/usr/share/gnome15/plugins/notify-lcd/notify-lcd.py
/usr/share/gnome15/plugins/g15daemon-server/g15daemon-server.py
/usr/share/pyshared/gnome15/drivers/driver_g15direct.py
/usr/lib/python2.7/dist-packages/gnome15/drivers/driver_g15direct.py
/usr/lib/python2.7/dist-packages/gnome15/drivers/driver_gtk.py
/usr/share/gnome15/plugins/indicator-messages/indicator-messages.py
/usr/share/gnome15/plugins/indicator-me/indicator-me.py

Revision history for this message
MC Return (mc-return) wrote :

russo79, thanks for the information about the workaround. :)
For now I've downgraded python-imaging to the Quantal version to workaround this issue.
I might try your other workaround as well, if I accidentially upgrade python-imaging again ;),
but for now I am happy that I can continue to use Gnome15 on Raring now...

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.