dredkin / deluge-rbb

This plugin adds "Browse" button to Add torrent dialog in client-server mode
GNU General Public License v2.0
27 stars 4 forks source link

add browse-button to move completed textbox also #6

Closed Pretagonist closed 10 years ago

Pretagonist commented 10 years ago

Excellent, thanks

Mattie432 commented 10 years ago

Unsure where this is supposed to be added. Cannot find anywhere.

  1. http://i.gyazo.com/663bd72d9014d3c71f65669d1fa60a72.png
  2. http://i.gyazo.com/70d9e9cb1c2c9f3e77ff88cc936e68af.png
dredkin commented 10 years ago

Looks like plugin hasn't started. Look for logfile on Linux and/or run deluge-debug.exe on windows.

Mattie432 commented 10 years ago

Seems to be that it does not like this specific plugin, all others are selectable. This happens when i toggle 'browsebutton' in the plugins preferences pane.

http://i.gyazo.com/bb701ad73d2aa8b4b82904b54d7b98f9.png

Currently running 'Deluge 1.3.6' is this the same your end?

dredkin commented 10 years ago

I've got 1.3.6 for python 2.7 Yours maybe for python 2.6. Just in case I've uploaded 0.1.2 for 2.6 to releases. If this won't help try to remove plugin, restart the server and then add both versions of plugin (for 2.6 and for 2.7).

Mattie432 commented 10 years ago

Im currently running python 2.7.6 locally, 2.7.3 server side. Both deluge versions are 1.3.6.

Have tried:

As you can see from this image the plugins info does not load when clicked however the console says that it is enabled. http://i.gyazo.com/0a4bc7557e3e686b18442b62d4d2fce4.png

Just tried installing v0.1.1 and this is the error i get, probably carried over to v0.1.2

[eros ~] [ERROR   ] 17:36:05 rpcserver:303 Exception calling RPC request: bad local file header in ***/***/***/*****/.config/deluge/plugins/browsebutton-0.1.1-py2.7.egg
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/deluge-1.3.6-py2.7.egg/deluge/core/rpcserver.py", line 298, in dispatch
    ret = self.factory.methods[method](*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/deluge-1.3.6-py2.7.egg/deluge/core/core.py", line 524, in enable_plugin
    self.pluginmanager.enable_plugin(plugin)
  File "/usr/local/lib/python2.7/dist-packages/deluge-1.3.6-py2.7.egg/deluge/core/pluginmanager.py", line 82, in enable_plugin
    super(PluginManager, self).enable_plugin(name)
  File "/usr/local/lib/python2.7/dist-packages/deluge-1.3.6-py2.7.egg/deluge/pluginmanagerbase.py", line 139, in enable_plugin
    egg.activate()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2227, in activate
    self.insert_on(path)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2334, in insert_on
    self.check_version_conflict()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2373, in check_version_conflict
    for modname in self._get_metadata('top_level.txt'):
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2221, in _get_metadata
    for line in self.get_metadata_lines(name):
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1209, in get_metadata_lines
    return yield_lines(self.get_metadata(name))
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1201, in get_metadata
    return self._get(self._fn(self.egg_info,name))
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1266, in _get
    return self.loader.get_data(path)
ZipImportError: bad local file header in /***/***/***/*****/.config/deluge/plugins/browsebutton-0.1.1-py2.7.egg
dredkin commented 10 years ago

Well I've rebuilt the .egg file on Linux. If that does not help then you can try to build it yourself: run python setup.py bdist_egg

and look at dist folder

dredkin commented 10 years ago

@Mattie432 , please responce if this issue is resolved. If not, do the following:

If the problem persist please attach results of unzip -t /var/lib/deluged/config/plugins/browsebutton-*.egg (on server)