Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 232510 - media-plugins/quodlibet-trayicon RDEPENDs on gnome-python-extras
Summary: media-plugins/quodlibet-trayicon RDEPENDs on gnome-python-extras
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-20 19:04 UTC by Daniel Plaza
Modified: 2008-12-22 18:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Plaza 2008-07-20 19:04:33 UTC
The plugin fails to load with this error:

Traceback (most recent call last):
  File "trayicon.py", line 17, in <module>
    import _trayicon as trayicon
ImportError: No module named _trayicon

The problem is that the python module egg.trayicon is not found. dev-python/gnome-python-extras contains this module and should be added as dependency.

Reproducible: Always
Comment 1 lukash 2008-09-07 19:59:03 UTC
The problem is dev-python/gnome-python-extras will pull you half the Gnome packages as dependencies.

It's strange you don't have _trayicon on your system, which is part of the quodlibet package. I have it here: /usr/lib64/quodlibet/_trayicon.so.

_trayicon does not handle icon transparency correctly though, so you'll have the background displayed around the icon.

egg.trayicon is deprecated as well, I just spent about 2 hours replacing it with gtk.StatusIcon. I should get in contact with quodlibet developers to make an update. I'm inexperienced in this direction though, it might take some time.

Or should I make some kind of a patch and post it here?
Comment 2 Arun Raghavan (RETIRED) gentoo-dev 2008-09-12 17:14:04 UTC
(In reply to comment #1)
> The problem is dev-python/gnome-python-extras will pull you half the Gnome
> packages as dependencies.

This will be fixed soon.

[...]
> egg.trayicon is deprecated as well, I just spent about 2 hours replacing it
> with gtk.StatusIcon. I should get in contact with quodlibet developers to make
> an update. I'm inexperienced in this direction though, it might take some time.
> 
> Or should I make some kind of a patch and post it here?

It would be best if you could file a bug on the quodlibet bug system and post a link to that bug here.
Comment 3 Daniel Plaza 2008-12-22 18:24:33 UTC
(In reply to comment #1)
> It's strange you don't have _trayicon on your system, which is part of the
> quodlibet package. I have it here: /usr/lib64/quodlibet/_trayicon.so.
> 
> _trayicon does not handle icon transparency correctly though, so you'll have
> the background displayed around the icon.

I've removed gnome-python-extras and the problem is only the transparency. So, the dependency isn't necesary.