Covergloobus 1.7-6 not working for MPD

Asked by Pushkar Gaur on 2011-08-03

I've started using MPD. Before MPD I was using Rythmbox for which Covergloobus was working awesome. But it doesn't seem to work with MPD. I used MPD with Convergloobus 1.6 before successfully.
If i keep the preferred music player in the covergloobus config as MPD them on start up neither the status icon in panel nor the covergloobus appears. If i try to restart it ,it says that "Covergloobus is Already running". If I keep the Preferred music player as Rythmbox and then start the covergloobus both the Icon and covergloobus appears fine but then if i change the preffered music player in config to MPD that covergloobus shows no information(no coverart, no music info).
Usually after changing the configurations if we click the save button the configuration window disappears applying the new settings,but i case of MPD save buttons does noting no matter how many times you click it. Possibly i am wrong with player configuration. But I've done whatever I could do about it. So now please help me out.
Thanks,

Question information

Language:
English Edit question
Status:
Solved
For:
CoverGloobus Edit question
Assignee:
No assignee Edit question
Solved by:
Alexandr Grigorcea
Solved:
2011-08-04
Last query:
2011-08-04
Last reply:
2011-08-04
Alexandr Grigorcea (cahr-gr) said : #1

please try running covergloobus and covergloobus-config from console,
reapeat what you've done previously and post here error messages that appear

Pushkar Gaur (deviantgaur) said : #2

This is the error message when I tried to run Covergloobus from console having MPD as preferred player in configuration already. After running this command nothing happened (no status icon in panel and no covergloobus on screen)

Traceback (most recent call last):
  File "/usr/share/covergloobus/covergloobus.py", line 97, in init
    self.init_player()
  File "/usr/share/covergloobus/covergloobus.py", line 127, in init_player
    self.player = __import__('players.' + name, fromlist=['players']).__dict__[name](self)
  File "/usr/share/covergloobus/players/__init__.py", line 85, in __init__
    if self.is_active():
  File "/usr/share/covergloobus/players/MPD.py", line 52, in is_active
    return self._connect()
  File "/usr/share/covergloobus/players/MPD.py", line 55, in _connect
    host = self.cg.config.get('MPD', 'host')
AttributeError: 'CoverGloobus' object has no attribute 'config'

After that I tried to run covergloobus-config from console. The configuration window shows up. If I try to save the default configuration with MPD as player in plugins following error appears and the config window doesn't disappears

[INFO] Saving new configuration
Traceback (most recent call last):
  File "/usr/share/covergloobus/widgets/configuration.py", line 559, in save_config
    self.parent_init()
  File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.AttributeError: Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/dbus/service.py", line 702, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/share/covergloobus/dbuswrapper.py", line 35, in Init
    self._parent.init()
  File "/usr/share/covergloobus/covergloobus.py", line 97, in init
    self.init_player()
  File "/usr/share/covergloobus/covergloobus.py", line 127, in init_player
    self.player = __import__('players.' + name, fromlist=['players']).__dict__[name](self)
  File "/usr/share/covergloobus/players/__init__.py", line 85, in __init__
    if self.is_active():
  File "/usr/share/covergloobus/players/MPD.py", line 52, in is_active
    return self._connect()
  File "/usr/share/covergloobus/players/MPD.py", line 55, in _connect
    host = self.cg.config.get('MPD', 'host')
AttributeError: 'CoverGloobus' object has no attribute 'config'

If I try to chose any theme from the Theme tag it shows following msg:

Traceback (most recent call last):
  File "/usr/share/covergloobus/widgets/configuration.py", line 488, in on_theme_changed
    self.parent_theme(path)
  File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.AttributeError: Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/dbus/service.py", line 702, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/share/covergloobus/dbuswrapper.py", line 45, in SetTheme
    self._parent._window.init(path)
AttributeError: 'NoneType' object has no attribute 'init'

I hope I've provided you the enough information. Plz let me know if something else is remaining..
Thanks...

Pushkar Gaur (deviantgaur) said : #4

Oh alright actually i thought that the ppa version have this feature updated. Anyway I'll reinstall the bzr version. Thanks for the Help..

Pushkar Gaur (deviantgaur) said : #5

Oh alright actually i thought that the ppa version have this feature updated. Anyway I'll reinstall the bzr version. Thanks for the Help..

Pushkar Gaur (deviantgaur) said : #6

Thanks Alexandr Grigorcea, that solved my question.