laharah / deluge-utorrentimport Goto Github PK
View Code? Open in Web Editor NEWcross platform Deluge Plugin for importing torrents from uTorrent
cross platform Deluge Plugin for importing torrents from uTorrent
I've installed Deluge on my Synology. Python 2.7 and Python 3 are both installed. When I'm logged into the box as root, "python --version" shows me 2.7. When I try to enable uTorrentImport, I get the following error:
[ERROR ] 00:29:38 rpcserver:304 Exception calling RPC request: 'CorePlugin.uTorrentImport'
Traceback (most recent call last):
File "/usr/local/deluge/env/lib/python2.7/site-packages/deluge-1.3.12-py2.7.egg/deluge/core/rpcserver.py", line 299, in dispatch
ret = self.factory.methods[method](*args, **kwargs)
File "/usr/local/deluge/env/lib/python2.7/site-packages/deluge-1.3.12-py2.7.egg/deluge/core/core.py", line 528, in enable_plugin
self.pluginmanager.enable_plugin(plugin)
File "/usr/local/deluge/env/lib/python2.7/site-packages/deluge-1.3.12-py2.7.egg/deluge/core/pluginmanager.py", line 82, in enable_plugin
super(PluginManager, self).enable_plugin(name)
File "/usr/local/deluge/env/lib/python2.7/site-packages/deluge-1.3.12-py2.7.egg/deluge/pluginmanagerbase.py", line 151, in enable_plugin
component.start([instance.plugin._component_name])
File "/usr/local/deluge/env/lib/python2.7/site-packages/deluge-1.3.12-py2.7.egg/deluge/component.py", line 290, in start
if self.components[name]._component_depend:
KeyError: 'CorePlugin.uTorrentImport'
Curious if it is possible to have the ratios carried over as well - it doesn't have seemed to :(
Be great if you could pull the uTorrent Label and import it into Deluge.
Everything on Deluge seems to be working but I'm getting this error.
Failed to get resume.dat. Reason: [Errno 2] No such file or directory: 'C:\Users\Bryan\AppData\Roaming\uTorrent'
Going from Windows 10 to Deluge in FreeNAS.
After I clicked "Begin Import" only 20 torrents was successfully imported and the button is grayed out. If I restart deluge and re-click the import button, I can see the same 20 torrents being imported again and failed because already exist but no new torrents get imported.
Log from deluge:
C:\Program Files (x86)\Deluge\deluge-1.3.14-py2.7.egg\deluge\ui\gtkui\mainwindow.py:110: GtkWarning: gdkdrawable-win32.c:2013 drawable is not a pixmap or window
(deluge:6308): libglade-WARNING **: unknown attribute `swapped' for <signal>.
(deluge:6308): libglade-WARNING **: unknown attribute `swapped' for <signal>.
C:\Program Files (x86)\Deluge\library.zip\twisted\internet\_glibbase.py:375: GtkWarning: gdkdrawable-win32.c:2013 drawable is not a pixmap or window
Unhandled error in Deferred:
Traceback (most recent call last):
File "twisted/internet/defer.py", line 434, in errback
File "twisted/internet/defer.py", line 501, in _startRunCallbacks
File "twisted/internet/defer.py", line 587, in _runCallbacks
File "twisted/internet/defer.py", line 1241, in gotResult
--- <exception caught here> ---
File "twisted/internet/defer.py", line 1183, in _inlineCallbacks
File "twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
File "c:\users\wangqr\appdata\roaming\deluge\plugins\utorrentimport-2.3.1-py2.7.egg\utorrentimport\gtkui.py", line 123, in on_import_button_clicked
File "twisted/internet/defer.py", line 1185, in _inlineCallbacks
File "c:\users\wangqr\appdata\roaming\deluge\plugins\utorrentimport-2.3.1-py2.7.egg\utorrentimport\core.py", line 277, in begin_import
File "c:\users\wangqr\appdata\roaming\deluge\plugins\utorrentimport-2.3.1-py2.7.egg\utorrentimport\core.py", line 296, in _import_torrent
exceptions.UnicodeDecodeError: 'utf8' codec can't decode bytes in position 88-89: invalid continuation byte
Two torrents i'm running are erroring out. I only downloaded some of the video
files in the batch of each torrent. This only occurred after transferring them from utorrent.
They're both a torrent with 20+ videos.
All my other torrents that were single files transferred properly along with several others that were batch torrents.
It seemed just 1 file was failing to finish in each torrent.
However i tried to start downloading another video file in the torrent batch
and that one is now also failing to finish at around 99%.
I've since just removed one torrent, however the other one is Private tracker sensitive and i need
it to finish properly.
I've tried pausing and Force Rechecking, reopening Deluge, restarting the computer.
Not sure what to do at this point.
Windows 10 64-bit.
Deluge 1.3.15
When I try to use Wine mappings, I get the following error:
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/deluge/ui/client.py", line 504, in __call__
return self.daemon.call(self.base, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/deluge/ui/client.py", line 457, in call
return defer.maybeDeferred(m, *copy.deepcopy(args), **copy.deepcopy(kwargs))
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 139, in maybeDeferred
result = f(*args, **kw)
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1237, in unwindGenerator
return _inlineCallbacks(None, gen, Deferred())
--- <exception caught here> ---
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1099, in _inlineCallbacks
result = g.send(result)
File "/home/wma/.config/deluge/plugins/uTorrentImport-2.2.1-py2.7.egg/utorrentimport/core.py", line 239, in begin_import
File "/home/wma/.config/deluge/plugins/uTorrentImport-2.2.1-py2.7.egg/utorrentimport/core.py", line 137, in find_wine_drives
exceptions.IndexError: tuple index out of range
I use:
Xubuntu 15.04
deluge: 1.3.11
libtorrent: 0.16.18.0
wine-1.7.50
My uTorrent is 2.2.1. I've been using it with Wine straight from Windows, without changing any setting or location, with the help of a couple of mapped drives in Wine that point to their original locations in Windows.
Deluge: 1.3.11
OS X: 10.10.5
Error Running uTorrentImport!
Failed to get resume.dat. Reason: /Users/user/Library/Application\ Support/uTorrent/resume.dat is a folder, "Path to resume.dat" must be a file.
Tried making a copy and moving it just to see, same error.
Thanks,
I would rather like to be able to keep the following fields for each torrent:
Besides missing these, your plugin works brilliantly. Thanks for developing it =)
I wasn't sure if I should make a separate issue for each field.
I imported 207 torrents and about half of them were unpaused, even though I had left the "Resume After Adding" option unticked. Admittedly, this could be due to having a status of "Error: Files missing from job. Please recheck" in uTorrent - which happened when I restored the uTorrent data from a previous Windows installation.
Hello!
Trying to use script this way
C:\Python26>python "C:\Program Files (x86)\Deluge\deluge-1.3.11-py2.6.egg\uTorrent_to_Deluge.py" --host 127.0.0.1 --port 58846 "C:\Users\Nikolay\AppData\Roaming\uTorrent\resume.dat"
Ang get this error
Traceback (most recent call last):
File "C:\Program Files (x86)\Deluge\deluge-1.3.11-py2.6.egg\uTorrent_to_Deluge.py", line 11, in
from deluge.ui.client import client
File "deluge\ui\client.py", line 36, in
ImportError: No module named twisted.internet.protocol
Python version
2.6.6 (r266:84297, Aug 24 2010, 18:13:38) [MSC v.1500 64 bit (AMD64)]
Tried importing my uTorrent torrents over to Deluge and it does not recognize all the files that I've right clicked and moved manually to another directory in uTorrent. So instead of finding the correct path of where the files are, every file that was moved elsewhere in the uTorrent client when imported over to Deluge tries to re-download the whole entire file because it does not recognize the new file name and/or location.
Based on what I can see in the source, there should be a webui but i'm not getting anything in the UI after enabling the plugin. no errors in the logs that I can see. Not sure if it's a system them or a dev build thing.
Thanks.
I am on OpenSuse Leap 15
deluge 2.0.0b2.dev313
libtorrent: 1.1.7.0
Python: 2.7.14
OS: Linux
To reproduce the bug:
G:\KNOPPIX_V7.2.0CD-2013-06-16-EN\
)[ERROR ] 00:24:12 torrent:1058 Attempting to rename a folder with an invalid folder name:
G:\KNOPPIX_V7.2.0CD-2013-06-16-EN\KNOPPIX_V7.2.0CD-2013-06-16-EN\
)Expected behaviour:
Deluge recheck the files downloaded by uTorrent and start seeding.
(i do not know where suggestion section is so i post it here, thx)
Can you make deluge sync with utorrent every "X" seconds?
would basically be just clicking the button automaticly.
Make plugin find downloads with just downloading metadata and also import those
(This is the real reason i need this plugin. all my torrents get stuck on metadata)
Would be AWESOME if you could do this, tough i do not know if this is possible. As i am no expert in the magical, mystical art that you gods posses (coding).
Since your script parses utorrent's data so well...
A bit of a side step:
Would it be possible to have your awesome python scripts output the list of active folders / files that are currently loaded in utorrent?
I know I have a ton of dead stuff sitting in my completed folder, but no easy way to manage it so it ends up just sitting there tying up space.
In a perfect world I'd like to point a script to my Completed folder and it would move all the non-active files into a different folder based on whats loaded in utorrent...
Just a thought - I can send cookies as bribes tho...
Same problem here, am on Windows 10 64-bit with uTorrent 2.2.1. Can give more info from my resume.dat if required, currently 200+ torrents fail to import properly due to this reason. Some of them had individual files moved/renamed from the file list, while others had the whole directory moved from overall torrent list. All files seem to revert to their default names rather than keeping new names as well, became a problem for stuff I was cross-seeding and had copied/renamed a few files that had differences between trackers.
When trying to import i get Error 13 access Denied.
I've tried running Deluge as admin.
Tried moving the uTorrent folder to many different locations.
Any help would be greatly appreciated.
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.