Re: Proposal: Plugins should be modules
Posted: Tue Jun 12, 2007 8:15 am
Fixed up with markybob on IRC, should be OK now.
Support Forum for the Deluge BitTorrent Client
https://forum.deluge-torrent.org/
tarka, using latest svn, here's what i get...tarka wrote:Fixed up with markybob on IRC, should be OK now.
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