FS#22547 - [terminator] won't launch without "python2-bonobo" package
Attached to Project:
Community Packages
Opened by Doug Penner (DarwinSurvivor) - Saturday, 22 January 2011, 01:37 GMT
Last edited by Ionut Biru (wonder) - Thursday, 10 February 2011, 18:34 GMT
Opened by Doug Penner (DarwinSurvivor) - Saturday, 22 January 2011, 01:37 GMT
Last edited by Ionut Biru (wonder) - Thursday, 10 February 2011, 18:34 GMT
|
Details
Description:
terminator does not run unless the "python2-bonobo" package is installed. With the package installed, terminator runs without error, without it you get an import error for "bonobo.ui" Additional info: python2-bonobo 2.28.1-6 terminator 0.95-2 python2 2.7.1-4 Steps to reproduce: attempt to start terminator without the python2-bonobo package installed. |
This task depends upon
Closed by Ionut Biru (wonder)
Thursday, 10 February 2011, 18:34 GMT
Reason for closing: Fixed
Additional comments about closing: terminator-0.95-4
Thursday, 10 February 2011, 18:34 GMT
Reason for closing: Fixed
Additional comments about closing: terminator-0.95-4
error
I do not have python2-bonobo installed on my system and terminator is working fine.
python2-bonobo might be made an optional dependency if it enables certain features of terminator. But it is not required to run.
Copied from my terminal emulator (which is terminator!):
stefan@aether ~ $ pacman -Q terminator
terminator 0.95-2
stefan@aether ~ $ pacman -Q python2-bonobo
error: package "python2-bonobo" not found
python2-bonobo pulls in libbonoboui, which pulls in libgnome, which pulls in all kinds of GNOME dependencies, including gnome-vfs that relies on hal. And hal is a dep lots of people are trying to get rid of...
So I would like this dependency of python2-bonobo to be made optional.
I can run terminator just fine without it. Perhaps DarwinSurvivor is using GNOME Terminal type profiles that might require python2-bonobo bindings to work properly?
@Stefan Joosten: by "gnome-terminal type profiles", what do you mean by that? Are you saying it could be something in my .bashrc that is causing this? Because xterm ran fine when terminator was crashing and as far as I know, xterm sources the same .bashFOO files when it runs.
Or maybe you have something else from GNOME running that might interfere here?
Voted also. ;-)
I looked through /usr/bin/terminator and /usr/lib/python2.7/site-packages/terminatorlib/terminator.py and the error is coming from the second one where it looks for a gnome-session (I run openbox, so I don't know why it would need a gnome-session).
Does anyone know what bonobo is even USED for?!? All I can figure out is that gnome (and possibly GTK) uses it for stuff.
FS#22594. I propose the following depends and optdepends for terminator:depends=('pygtk' 'vte' 'xdg-utils')
optdepends=('dbus-python: dbus support'
'python2-gconf: use the default GNOME settings'
'python2-libgnome: GNOME session support'
'python-notify: required for ActivityWatch plugin')
[1] http://mailman.archlinux.org/pipermail/arch-dev-public/2011-January/019120.html
@Doug: may be we could compare our systems to get the problem solved, what do you think?
I have attached a section of my pacman log showing what was removed in case anyone stumbles upon this later with the same issue.
I will also make a note on the forum you linked to in case anyone reading that is looking for some hints.
Might be best off possibly leaving it in opt-depends and making a note in the PKGBUILD that it is required if using libgnome (if it is in fact libgnome causing the issue, it could be one of the other gnome packages that I removed it's hard to tell).
But it definitely doesn't need to be a full dependency. :D
Terminator never requires python2-bonobo directly. The error message came from python2-libgnome, which is fixed in
FS#22594.[1] http://pkgs.fedoraproject.org/gitweb/?p=terminator.git;a=blobdiff;f=terminator.spec;h=7923e5f0e770c0ddbe4ca368459573390487080d;hp=b50f2476a920a911ee893fc67c783e0a24dfbc47;hb=74191f3e0cd66a87c3edb32517002b0741e0d4f7;hpb=221c917060696f65b5340e0e1ec1aa6af65f04e1
[2] http://gentoo-portage.com/AJAX/Ebuild/115560/View
The
FS#22594solves the original report about "import error for bonobo.ui". If anyone has another error message, please paste it here.[1] https://launchpad.net/ubuntu/natty/i386/terminator/0.95-1