Proposal: Plugins should be modules
Re: Proposal: Plugins should be modules
Fixed up with markybob on IRC, should be OK now.
-
- Compulsive Poster
- Posts: 1230
- Joined: Thu May 24, 2007 11:27 pm
- Location: Chicago, IL, USA
- Contact:
Re: Proposal: Plugins should be modules
tarka, using latest svn, here's what i get...tarka wrote:Fixed up with markybob on IRC, should be OK now.
loading torrentsearch plugin:
Code: Select all
self.enabled_plugins[name] = plugin.enable(self.core, self.interface)
File "/usr/share/deluge/plugins/TorrentSearch/__init__.py", line 17, in enable
return plugin_Search(path, core, interface)
File "/usr/share/deluge/plugins/TorrentSearch/plugin.py", line 5, in __init__
import common, gtk, gtk.glade, dgtk, pref
ImportError: No module named common
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/deluge/dialogs.py", line 190, in plugin_toggled
self.plugins.disable_plugin(plugin_name)
File "/usr/lib/python2.4/site-packages/deluge/plugins.py", line 80, in disable_plugin
plugin = self.enabled_plugins[name]
KeyError: 'Torrent Search'
Code: Select all
File "/usr/lib/python2.4/site-packages/deluge/plugins.py", line 98, in update_active_plugins
plugin.update()
File "/usr/share/deluge/plugins/NetworkGraph/plugin.py", line 114, in update
import common
ImportError: No module named common
Code: Select all
terminate called after throwing an instance of 'asio::system_error'
what(): Transport endpoint is not connected
Aborted
and deluge crashes.