Kupfer (pandora's box)

v205 crashes on Red Hat Enterprise Linux 6

Reported by Kris Kemper on 2011-04-04
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kupfer
Undecided
Unassigned

Bug Description

I installed Kupfer on rhel6 desktop. I didn't install the key bindings, and I'm using GTK 2.18.9, Python 2.6.5, pygobject 2.20, pygtk 2.16.0 and gvfs 1.4.3. Kupfer would not start when selected from the menu, so I ran it from the command line. This is the error I got:

scout:~/Downloads/kupfer-v205% kupfer
Kupfer: A free software (GPLv3+) launcher
 Copyright © 2007--2011 Ulrik Sverdrup with others
 http://kaizer.se/wiki/kupfer/

** (kupfer.py:10759): WARNING **: Trying to register gtype 'WnckWindowState' as flags when in fact it is of type 'GEnum'

** (kupfer.py:10759): WARNING **: Trying to register gtype 'WnckWindowActions' as flags when in fact it is of type 'GEnum'

** (kupfer.py:10759): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' as flags when in fact it is of type 'GEnum'
Error [kupfer.core.plugins]: Could not import plugin 'kupfer.plugin.triggers': No module named keybinder
Error [kupfer.core.plugins]: Could not import plugin 'kupfer.plugin.triggers': No module named keybinder
Error [kupfer.core.plugins]: Could not import plugin 'kupfer.plugin.triggers': No module named keybinder
[kupfer.icons]: Icon theme changed, clearing cache
Traceback (most recent call last):
  File "/usr/local/share/kupfer/kupfer.py", line 22, in <module>
    main.main()
  File "/usr/local/share/kupfer/kupfer/main.py", line 174, in main
    gtkmain(quiet)
  File "/usr/local/share/kupfer/kupfer/main.py", line 154, in gtkmain
    w.main(quiet=quiet)
  File "/usr/local/share/kupfer/kupfer/ui/browser.py", line 2275, in main
    self.initialize(data_controller)
  File "/usr/local/share/kupfer/kupfer/ui/browser.py", line 1830, in initialize
    self.interface = Interface(data_controller, self.window)
  File "/usr/local/share/kupfer/kupfer/ui/browser.py", line 984, in __init__
    self.preedit.connect("preedit-changed", self._preedit_im_changed)
TypeError: <gtk.Entry object at 0x2118be0 (GtkEntry at 0x2167170)>: unknown signal name: preedit-changed

Kris Kemper (kriskemper) wrote :

I forgot to mention: I don't have any problems using v204 with the exact same machine.

Hi Kris, Thank you for reporting bugs in Kupfer and including the complete information needed.

It seems that we introduced a feature that depends on GTK+ version 2.20. It is an isolated thing and removing it when not available is ok (if you don't care about input methods).

I have updated our master branch with a possible fix. It would be great if you could verify that you can now run Kupfer with this fix applied.

If you have git, the following succession of commands is a very quick way to run kupfer's master branch:

   git clone git://git.gnome.org/kupfer
   cd kupfer
   ./kupfer-run

The link to the actual change is here:
http://git.gnome.org/browse/kupfer/commit/?id=890a765104a13c078946e454a5223acdec73dbf0

And tangentially, there is an old version of python-keybinder (version 0.0.4) that you should be able to build & install with older GTK (new keybinder require GTK v 2.20).

Kris Kemper (kriskemper) wrote :

I tried the fix and it works great. Thanks for the note on the keybinder. I'll check that out.

Also, thanks for the fast response; that was one of fastest responses I've seen after entering a defect.

Thanks a lot for confirming the fix.

I think I should have said python-keybinder version *0.0.9*. I remembered it wrong, it was a long time ago. http://kaizer.se/wiki/keybinder/releases/

Changed in kupfer:
assignee: nobody → Ulrik Sverdrup (ulrik-sverdrup)
status: New → Fix Committed
Changed in kupfer:
status: Fix Committed → Fix Released

Thanks for the keybinder hint. Running kupfer master with keybinder v0.0.9 renders a functional kupfer on my Scientific Linux 6.1 box.

I had focus problems when using compiz and a keyboard-shortcut to kupfer, which are gone when using keybinder.

It does render a little bit weird; the window is missing (or has no opacity). But I'll check to see if there's a different report about that.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers