Summary: | Impossible to add the deskbar applet (2.14.1.1) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Zak Peirce <plastikman> |
Component: | [OLD] GNOME | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | CC: | leszek |
Priority: | High | ||
Version: | 2005.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Zak Peirce
2006-04-21 07:10:39 UTC
Deskbar-applet doesn't use wxgtk in any way that I can see, so what makes you think the use flags for wxgtk matter? I have the same problems without Unicode...and I don't think it has to do with wxGTK. Maybe Zak should do the following call on his command line # /usr/lib/deskbar-applet/deskbar-applet -w ----------------- Traceback (most recent call last): File "/usr/lib/deskbar-applet/deskbar-applet", line 13, in ? import gtk, gnomeapplet ImportError: No module named gnomeapplet ----------------- This bug may be related to #132671 *** Bug 132671 has been marked as a duplicate of this bug. *** there seems to be a problem with your pygtk installation.
until you can do something like:
$ python
>>> from gtk import VBox
deskbar-applet will not work for you.
zak@slacktop ~ $ python Python 2.4.3 (#1, May 8 2006, 18:36:16) [GCC 3.4.5 (Gentoo 3.4.5-r1, ssp-3.4.5-1.0, pie-8.7.9)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from gtk import VBox Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 33, in ? import gobject as _gobject ImportError: /usr/lib/python2.4/site-packages/gtk-2.0/gobject.so: undefined symbol: PyUnicodeUCS2_FromUnicode >>> zak@slacktop ~ $ /usr/lib/deskbar-applet/deskbar-applet -w Traceback (most recent call last): File "/usr/lib/deskbar-applet/deskbar-applet", line 10, in ? import gobject ImportError: /usr/lib/python2.4/site-packages/gtk-2.0/gobject.so: undefined symbol: PyUnicodeUCS2_FromUnicode zak@slacktop ~ $ @Zak: after upgrading python to 2.4 did you run python-updater? have you tried recompiling pygtk? Yes I have recompiled pygtk many times and have also ran the python updater many times as well. The problem that I have is that if I build python -UCS2 Superkaramba complains taht it needs Python built with UCS2. If i build Python with UCS2 then the deskbar applet works but btdownloadgui.py complains that wxGTK is not installed. SO my choice is to either beable to use btdownloadgui.py or to use deskbar applet. quitefrankly it kinda sucks... (In reply to comment #8) > SO my choice is to either beable to use btdownloadgui.py or to use > deskbar applet. Sorta off topic, but there are many BT clients and only one deskbar, so IMO, the deskbar wins. (In reply to comment #9) > (In reply to comment #8) > > SO my choice is to either beable to use btdownloadgui.py or to use > > deskbar applet. > > Sorta off topic, but there are many BT clients and only one deskbar, so IMO, > the deskbar wins. > I partially agree with that statement but i like bittornado plus dont you thinkt aht they shuold work together? I would say that this is an upstream issue, based on all the various comments, perhaps you should take the issue up with them? *** Bug 134342 has been marked as a duplicate of this bug. *** Finally i got this error fixed on my ~amd64 and ~x86 machines. I had python 2.3.5 and 2.4.3-r1 installed. I removed the older python then rebuilt 2.4.3-r1 -ucs2 and rebuilt wxGTK-2.6.2-r1 and wxpython-2.6.1.0 +unicode then rebuilt pygtk and all the python problems went away. On my ~amd64 machine i was running x11-libs/wxGTK-2.6.3.2 and had to downgrade to 2.6.2-r1 seems like there is a problem with the newer stuff. In comment #2 I described my error message...it resulted from a missing gnomeapplet module (Python) which was available when compiling deskbar-applet, but got lost afterwards, I found out today. Reemerging gnome-python-desktop (gnomeapplet.la belongs to this package) made the trick for me. I had a similar problem and solved it adding following lines in /usr/lib/deskbar-applet/deskbar-applet: import pygtk pygtk.require("2.0") These had to be put before the "import gtk, ..." statement! I don't know if i made something wrong with the pygtk/gtk installation because i reemerged them several times in different order to no prevail. Under my ubuntu box i dont need those lines, despite there'r almost the same libraries installed. Maybe someone could help us here!? It seems a genuine error, because my gdesklets don't work either! package : version :USE flags --------------------------------------------------------------------------------------------------------------------- gnome : 2.14.2 : USE="cdr dvdr hal -accessibility" deskbar-applet : 2.14.2 : USE="eds -debug" python : 2.3.5-r2 and 2.4.3-r1 : USE="berkdb doc gdbm ipv6 ncurses\ readline ssl tk ucs2\ -bootstrap -build -nocxx" pygtk: : 0.6.11-r1 and 2.8.6 : USE="doc opengl" pygtkglext : not installed Newer versions of the deskbar applet are now available. If this is still an issue, don't hesitate to reopen this, and open a bug in gnome's bugzilla (post the url here too). Thanks |