revelation: could not import gnome.applet

Bug #70399 reported by ben
2
Affects Status Importance Assigned to Milestone
revelation (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: revelation

i updated from dapper to edgy and know revelation does not start anymore:

ben@chaos ~ $ revelation
Traceback (most recent call last):
  File "/usr/local/bin/revelation", line 30, in ?
    from revelation import gnomemisc, config, data, datahandler, dialog, entry, io, ui, util
  File "/usr/local/lib/python2.4/site-packages/revelation/__init__.py", line 29, in ?
    import gnomemisc
ImportError: could not import gnome.applet

i reinstalled it, but that did not change anything.

ben (bhaubeck-gmail)
description: updated
Revision history for this message
Stefan Voelkel (stefan-voelkel) wrote :

If this is the same gnome.applet is gone bug revelation had in debian, there is a patch available at:

http://bugs.debian.org/cgi-bin/bugreport.cgi/gnomeapplet.patch?bug=376149;msg=27;att=1

Be advised that the patch is reversed, so apply with -R.

Basically you need to replace gnome.applet.Applet with gnomeapplet.Applet

HTH

Revision history for this message
ben (bhaubeck-gmail) wrote :

what i have done:

i fetched the sources with apt-get source revelation

i changed to the directory revelation-0.4.7.orig/src/wrap/gnomemisc/
opened the file gnomemisc.override
and i changed the line

import gnomeapplet.Applet as PyPanelApplet_Type

to

import gnome.applet.Applet as PyPanelApplet_Type

as described here:
http://bugs.debian.org/cgi-bin/bugreport.cgi/gnomeapplet.patch?bug=376149;msg=27;att=1

then i had to install the package cracklib2-dev

after that i made a

./configure
make
make install

and got a working version of revelation in /usr/local/bin

thanks again for your help

Revision history for this message
Jérémie Corbier (jcorbier) wrote :

Fixed in Feisty.

Changed in revelation:
status: Unconfirmed → Fix Released
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.