dredkin / deluge-rbb Goto Github PK
View Code? Open in Web Editor NEWThis plugin adds "Browse" button to Add torrent dialog in client-server mode
License: GNU General Public License v2.0
This plugin adds "Browse" button to Add torrent dialog in client-server mode
License: GNU General Public License v2.0
Nothing happens when checking plugin active after installation. OS: KDE Neon. Deluge is used as a remote to deluged. Terminal error output:
[ERROR ] 22:00:15 client:391 RPCError Message Received!
--------------------------------------------------------------------------------
RPCRequest: core.enable_plugin(browsebutton)
--------------------------------------------------------------------------------
File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 301, in dispatch
ret = self.factory.methods[method](*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/deluge/core/core.py", line 540, in enable_plugin
self.pluginmanager.enable_plugin(plugin)
File "/usr/lib/python2.7/dist-packages/deluge/core/pluginmanager.py", line 82, in enable_plugin
super(PluginManager, self).enable_plugin(name)
File "/usr/lib/python2.7/dist-packages/deluge/pluginmanagerbase.py", line 151, in enable_plugin
component.start([instance.plugin._component_name])
File "/usr/lib/python2.7/dist-packages/deluge/component.py", line 290, in start
if self.components[name]._component_depend:
KeyError: CorePlugin.browsebutton
--------------------------------------------------------------------------------
Unhandled error in Deferred:
Traceback (most recent call last):
Failure: deluge.ui.client.DelugeRPCError: <deluge.ui.client.DelugeRPCError object at 0x7f6e3e042d10>
I'm running v1.3.12 on all systems, my windows gtk client, local and hosted linux based seedboxes.
When the Browse Button plugin is enabled on all systems, the Move Storage item in a torrent's context menu gets duplicated each time I use the the connection manager to switch between different deluge hosts. This results in the Move Sorage item appearing in the context menu over 8 times in my testing.
See it: http://imgur.com/SnQk5UJ
With the plugin disabled, this issue does not occur. But, then I do not have a browse button :(
Once I get to the root directory of the drive (C) I cannot continue up to select another drive. It would be good to be able to go up another level, or to have a text input box at the top for manual entry.
Also a nice feature would be to remember the last location used, or to grab the location from the inbuilt location box as the starting directory.
I just added a torrent, pressed the browse button to change to a directory I wanted, then pressed add. The torrent added to the location in the Deluge box (the unchanged default) instead of where i specified in the browse dialogue.
Here is the server log
^^ Relevant lines start at around line 1040
Here is the client log
^^ Relevant lines start at around line 172
I've been using the browsebutton-0.1.9-py2.7.egg successfully on my client and server. When I attempted to install browsebutton-0.1.10-py2.7.egg my GTK GUI crashes. This has happened with multiple setups now. I've double checked that I have the right python version installed on client and server. I can give you some logs if I could figure out where to find them.
Is it possible to add support for it ? =)
Would be nice if such an option existed to get straight away to the directory of the torrent instead of having to dig through all the directories starting from the defined Root directory when moving.
Like for example:
root directory=/Torrents
Folder that I want to move= /Torrents/LinuxISO_Tracker/Debian_Based_Installations/2020/Debian.iso
so when I press the button to move, I wish I'm straight away in the /Torrents/.../2020/ folder instead of having to dig my way down there.
I'd most usually use it to move the shows I watched from the "unwatched" folder... and yeah, I have a bit complicated folder structure and I'm half proud of it!
I can't traverse into directories which contains character Δ (and possibly other character like ΔΕΎΕ‘Δ).. These are croatian local characters.. By trying to double click onto the folder nothing happens
Using deluged 1.3.15 on Ubuntu 18.04, libtorrent 1.1.13 as daemon, python 2.7
Using Deluge 1.3.15 on Windows 10, browsebutton 0.1.10 as client
I get this error when I try to install the 2.7 egg on Deluge 1.3.15:
[ERROR ] 05:19:29 pluginmanagerbase:146 Unable to instantiate plugin!
[ERROR ] 05:19:29 pluginmanagerbase:147 u'deluge_browsebutton/data/browse_button.js.glade'
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/deluge-1.3.15-py2.7.egg/deluge/pluginmanagerbase.py", line 144, in enable_plugin
instance = cls(plugin_name.replace("-", "_"))
File "build/bdist.linux-x86_64/egg/deluge_browsebutton/__init__.py", line 58, in __init__
from .webui import WebUI as _plugin_cls
File "build/bdist.linux-x86_64/egg/deluge_browsebutton/webui.py", line 47, in <module>
File "build/bdist.linux-x86_64/egg/deluge_browsebutton/webui.py", line 49, in WebUI
File "build/bdist.linux-x86_64/egg/deluge_browsebutton/common.py", line 23, in get_resource
return resource_filename(__package__, os.path.join('data', filename + ext))
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1145, in resource_filename
self, resource_name
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1744, in get_resource_filename
return self._extract_resource(manager, zip_path)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1765, in _extract_resource
timestamp, size = self._get_date_and_size(self.zipinfo[zip_path])
KeyError: u'deluge_browsebutton/data/browse_button.js.glade'
I've tried doing the server restart that the README suggests, but to no avail. I've also tried building the egg myself for python 2.7 (which is what I'm running), but that also didn't fix the issue.
browsebutton crahes on daemon with the next error:
[ERROR ] 17:16:56 rpcserver:303 Exception calling RPC request: encode() argument 1 must be string, not None
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 298, in dispatch
ret = self.factory.methods[method](*args, **kwargs)
File "/var/lib/deluge/.config/deluge/plugins/browsebutton-0.1.5-py2.7.egg/browsebutton/core.py", line 119, in get_folder_list
folder = folder.encode(CURRENT_LOCALE)
TypeError: encode() argument 1 must be string, not None
My locale is:
root@seedbox:/# locale
LANG=es_ES.UTF-8
LANGUAGE=
LC_CTYPE="es_ES.UTF-8"
LC_NUMERIC="es_ES.UTF-8"
LC_TIME="es_ES.UTF-8"
LC_COLLATE="es_ES.UTF-8"
LC_MONETARY="es_ES.UTF-8"
LC_MESSAGES="es_ES.UTF-8"
LC_PAPER="es_ES.UTF-8"
LC_NAME="es_ES.UTF-8"
LC_ADDRESS="es_ES.UTF-8"
LC_TELEPHONE="es_ES.UTF-8"
LC_MEASUREMENT="es_ES.UTF-8"
LC_IDENTIFICATION="es_ES.UTF-8"
LC_ALL=
It's an freshly installed Ubuntu machine. LANGUAGE seems empty, but that shouldn't be a problem, as it just overrides other values.
Hey there, amazing addition - literally the reason I switched to Deluge.
Just to make it easier for less technical users (ie the wife), can we add an option preference (perhaps in browserbuttton.conf) to define a new root folder - ie I want to restrict users to the download drive, without access to put things into system folder.
Or does this exist undocumented already?
Cheers.
Can we get new eggs for Python 3.12?
Been using your plugin for a long time, it's making Deluge usable
Well it's been a year! If there's any chances you haven't abandoned the plugin, I really hope that giving us a support for Python 3.9 won't be a big trouble for you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.