#511551 rhythmbox: Clearer error messages when plugin dependencies are missing

Package:
rhythmbox
Source:
rhythmbox
Description:
music player and organizer for GNOME
Submitter:
Guillaume Pratte
Date:
2010-02-28 19:48:07 UTC
Severity:
wishlist
#511551#5
Date:
2009-01-12 03:17:14 UTC
From:
To:
*** Please type your report below this line ***

The rhythmbox package should depend on python-gst0.10, otherwise the plugins
do not load.
Notice the "ImportError" when starting the application.

$ rhythmbox
ImportError: could not import gst
Traceback (most recent call last):
  File "/usr/lib/rhythmbox/plugins/artdisplay/__init__.py", line 323, in
<module>
    class ArtDisplayPlugin (rb.Plugin):
AttributeError: 'module' object has no attribute 'Plugin'

(rhythmbox:8424): Rhythmbox-WARNING **: Could not load plugin artdisplay


(rhythmbox:8424): Rhythmbox-WARNING **: Error, impossible to activate
plugin 'Pochette'
Traceback (most recent call last):
  File "/usr/lib/rhythmbox/plugins/lyrics/__init__.py", line 283, in <module>
    class LyricsDisplayPlugin(rb.Plugin):
AttributeError: 'module' object has no attribute 'Plugin'

(rhythmbox:8424): Rhythmbox-WARNING **: Could not load plugin lyrics


(rhythmbox:8424): Rhythmbox-WARNING **: Error, impossible to activate
plugin 'Paroles de la chanson'
Traceback (most recent call last):
  File "/usr/lib/rhythmbox/plugins/magnatune/__init__.py", line 40, in
<module>
    from MagnatuneSource import MagnatuneSource
  File "/usr/lib/rhythmbox/plugins/magnatune/MagnatuneSource.py", line 56, in
<module>
    class MagnatuneSource(rb.BrowserSource):
AttributeError: 'module' object has no attribute 'BrowserSource'

(rhythmbox:8424): Rhythmbox-WARNING **: Could not load plugin magnatune


(rhythmbox:8424): Rhythmbox-WARNING **: Error, impossible to activate
plugin 'Boutique Magnatune'
Traceback (most recent call last):
  File "/usr/lib/rhythmbox/plugins/dontreallyclose/dontreallyclose.py", line
24, in <module>
    class DontReallyClosePlugin(rb.Plugin):
AttributeError: 'module' object has no attribute 'Plugin'

(rhythmbox:8424): Rhythmbox-WARNING **: Could not load plugin dontreallyclose


(rhythmbox:8424): Rhythmbox-WARNING **: Error, impossible to activate
plugin 'Minimize to tray'
Traceback (most recent call last):
  File "/usr/lib/rhythmbox/plugins/jamendo/__init__.py", line 36, in <module>
    from JamendoSource import JamendoSource
  File "/usr/lib/rhythmbox/plugins/jamendo/JamendoSource.py", line 45, in
<module>
    class JamendoSource(rb.BrowserSource):
AttributeError: 'module' object has no attribute 'BrowserSource'

(rhythmbox:8424): Rhythmbox-WARNING **: Could not load plugin jamendo


(rhythmbox:8424): Rhythmbox-WARNING **: Error, impossible to activate
plugin 'Jamendo'

#511551#10
Date:
2009-01-12 08:58:57 UTC
From:
To:
rhythmbox works fine here when python-gst0.10 is not installed.
rhythmbox is a music player, and it can play music without python-gst0.10.
python-gst0.10 is in Recommends, as it is needed only for plugins.

Thus I think it's not a bug here, package is not unusable and python-gst0.10
is recommended for additional functionality.

Regards
Evgeni

#511551#15
Date:
2009-01-12 10:31:01 UTC
From:
To:
severity 511551 normal
thanks

This bug isn't RC, resetting severity to default.

Neil

#511551#22
Date:
2009-01-12 12:35:46 UTC
From:
To:
IMHO that's not a bug at all.
python-gst0.10 provides *additional* functionality to rhytmbox, that
what Recommends are for, and these are used here correctly.

Regards
Evgeni