emesene / emesene-supported-plugins

set of plugins supported by the emesene team
http://www.emesene.org
15 stars 11 forks source link

[request] Enable/disable button for music plugin #59

Closed danielgomon closed 12 years ago

danielgomon commented 12 years ago

This was requested in the past, works for a couple of weeks, but it doesn't anymore. I think it's a good improvement.

Related to this: https://github.com/emesene/emesene-supported-plugins/issues/47

Sbte commented 12 years ago

Could you check if it's fixed now?

danielgomon commented 12 years ago

Doesn't work, now I can't even enable the plugin. Here's the output:

/usr/lib/python2.6/dist-packages/xmpp/auth.py:24: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha,base64,random,dispatcher,re /usr/lib/python2.6/dist-packages/xmpp/auth.py:26: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5 [13:25:44 WARNING pluginmanager] error starting "music": global name 're' is not defined error starting "music": global name 're' is not defined Traceback (most recent call last): File "/home/maloy/emesene/emesene/gui/gtkui/PluginWindow.py", line 66, in on_toggled self.on_start(name) File "/home/maloy/emesene/emesene/gui/gtkui/PluginWindow.py", line 89, in on_start pluginmanager.plugin_start(name, self.session) File "/home/maloy/emesene/emesene/pluginmanager.py", line 214, in plugin_start self._plugins[name].start(session) File "/home/maloy/emesene/emesene/pluginmanager.py", line 129, in start raise reason NameError: global name 're' is not defined

Sbte commented 12 years ago

Sorry, my bad. How is it now?

danielgomon commented 12 years ago

Now I can enable the plugin again, it works ok, but the enable/disable buttom doesn't show in the gui.