Ticket #329 (closed defect: fixed)

Opened 2 years ago

Last modified 1 year ago

Rhythmbox plugin in SVN R1658 depends on Gconf entries

Reported by: Caleb Assigned to: dev
Priority: blocker Milestone:
Component: Rhythmbox Version:
Keywords: Cc:

Description

The version of the Coherence Rhythmbox plugin in SVN R1658 fails to start correctly unless the configuration entries for Coherence already exist in Gconf. These entries do not exist the first time the plugin runs, and the plugin terminates before the entries are created if the entries do not exist, making the plugin unusable in fresh installations.

The attached diff provides a possible solution.

Attachments

__init__.py.diff (0.7 kB) - added by Caleb on 14.11.2010 05:34:17.

Change History

14.11.2010 05:34:17 changed by Caleb

  • attachment __init__.py.diff added.

14.11.2010 21:34:36 changed by Caleb

The error that is given when Rhythmbox is run from a console follows:

[rb_python_object_init] rb-python-plugin.c:204: Creating python plugin instance

Traceback (most recent call last):
  File "/usr/local/lib/rhythmbox/plugins/upnp_coherence/__init__.py", line 52, in __init__
    self._set_defaults()
  File "/usr/local/lib/rhythmbox/plugins/upnp_coherence/__init__.py", line 58, in _set_defaults
    self.config.set_string(gconf_keys['dm%s_name' % a], "Rhythmbox on %s" % self.server.coherence.hostname)
AttributeError: 'CoherencePlugin' object has no attribute 'server'

(rhythmbox:9142): Rhythmbox-WARNING **: could not instantiate python object

(rhythmbox:9142): Rhythmbox-CRITICAL **: rb_plugin_activate: assertion `RB_IS_PLUGIN (plugin)' failed

19.11.2010 09:56:59 changed by dev

  • status changed from new to assigned.

02.02.2011 07:52:25 changed by Caleb

  • status changed from assigned to closed.
  • resolution set to fixed.