[Deluge] #2076: extractor does not seem to work on windows

237 views
Skip to first unread message

Deluge

unread,
Apr 9, 2012, 5:34:02 AM4/9/12
to delug...@googlegroups.com
#2076: extractor does not seem to work on windows
----------------------------+-----------------------------------------------
Reporter: kristixs | Owner:
Type: plugin-request | Status: new
Priority: minor | Milestone: 1.3.x
Component: plugin | Version: 1.3.4
Keywords: |
----------------------------+-----------------------------------------------
i am currently using windows server 2008 r2 with the desktop experience
(basically its windows 7). the Extractor plugin loads in windows, the
check boxes are available in the GUI but the actual plugin does not seem
to work. I also took an almost completed torrent and forced a recheck,
then let the torrent finish to see if it would work that way and it did
not.

after searching the forums it came to my attention that other windows
users had complained the extractor was not working and replies stated that
though the plugin will install on windows, it only currently works in
linux. could you please fix this? an alternative would there be an Execute
script posted in the plugins section or included with deluge that would
use Winrar or Universal Extractor to extract completed torrents
automatically, but a plugin is far easier to use.

Also, as another user pasted that the extractor plugin launched an unrar
process for every .rar in the download directory when a torrent completes.
Files that are named part01.rar,part02.rar,part03.rar instead of
.rar,.r01,.r02 and i end up with 50 or so unrar processes. It would be
good if there were a toggle to select the .rar type of the download for
Extractor to handle when adding the torrent to deluge.

--
Ticket URL: <http://dev.deluge-torrent.org/ticket/2076>
Deluge <http://deluge-torrent.org/>
Deluge project

Deluge

unread,
Apr 9, 2012, 5:34:59 AM4/9/12
to delug...@googlegroups.com
#2076: extractor does not seem to work on windows
----------------------------+-----------------------------------------------
Reporter: kristixs | Owner:
Type: plugin-request | Status: new
Priority: major | Milestone: 1.3.x
Component: plugin | Version: 1.3.4
Keywords: |
----------------------------+-----------------------------------------------
Changes (by kristixs):

* priority: minor => major


--
Ticket URL: <http://dev.deluge-torrent.org/ticket/2076#comment:1>

Deluge

unread,
Apr 9, 2012, 11:41:38 AM4/9/12
to delug...@googlegroups.com
#2076: [Extractor] Support for extracting on Windows

----------------------------+-----------------------------------------------
Reporter: kristixs | Owner:
Type: plugin-request | Status: new
Priority: major | Milestone: 1.3.x
Component: plugin | Version: 1.3.4
Keywords: |
----------------------------+-----------------------------------------------
Description changed by Cas:

Old description:

> i am currently using windows server 2008 r2 with the desktop experience
> (basically its windows 7). the Extractor plugin loads in windows, the
> check boxes are available in the GUI but the actual plugin does not seem
> to work. I also took an almost completed torrent and forced a recheck,
> then let the torrent finish to see if it would work that way and it did
> not.
>
> after searching the forums it came to my attention that other windows
> users had complained the extractor was not working and replies stated
> that though the plugin will install on windows, it only currently works
> in linux. could you please fix this? an alternative would there be an
> Execute script posted in the plugins section or included with deluge that
> would use Winrar or Universal Extractor to extract completed torrents
> automatically, but a plugin is far easier to use.
>
> Also, as another user pasted that the extractor plugin launched an unrar
> process for every .rar in the download directory when a torrent
> completes. Files that are named part01.rar,part02.rar,part03.rar instead
> of .rar,.r01,.r02 and i end up with 50 or so unrar processes. It would be
> good if there were a toggle to select the .rar type of the download for
> Extractor to handle when adding the torrent to deluge.

New description:

i am currently using windows server 2008 r2 with the desktop experience
(basically its windows 7). the Extractor plugin loads in windows, the
check boxes are available in the GUI but the actual plugin does not seem
to work. I also took an almost completed torrent and forced a recheck,
then let the torrent finish to see if it would work that way and it did
not.

after searching the forums it came to my attention that other windows
users had complained the extractor was not working and replies stated that
though the plugin will install on windows, it only currently works in
linux. could you please fix this? an alternative would there be an Execute
script posted in the plugins section or included with deluge that would
use Winrar or Universal Extractor to extract completed torrents
automatically, but a plugin is far easier to use.

--

--
Ticket URL: <http://dev.deluge-torrent.org/ticket/2076#comment:2>

Deluge

unread,
Apr 9, 2012, 11:58:50 AM4/9/12
to delug...@googlegroups.com
#2076: [Extractor] Support for extracting rar on Windows

----------------------------+-----------------------------------------------
Reporter: kristixs | Owner:
Type: plugin-request | Status: new
Priority: major | Milestone: 1.3.x
Component: plugin | Version: 1.3.4
Keywords: |
----------------------------+-----------------------------------------------

Comment(by Cas):

Using the[http://code.google.com/p/py-unrar2/ py-unrar2] module could make
this simpler to fix.

Alternatively 7zip supports extracting rar and has a command line program
which could be used.

--
Ticket URL: <http://dev.deluge-torrent.org/ticket/2076#comment:3>

Deluge

unread,
Dec 20, 2012, 7:05:33 AM12/20/12
to delug...@googlegroups.com
#2076: [Extractor] Support for extracting rar on Windows
----------------------------+-----------------------------------------------
Reporter: kristixs | Owner:
Type: plugin-request | Status: new
Priority: major | Milestone: 1.3.x
Component: plugin | Version: 1.3.4
Keywords: |
----------------------------+-----------------------------------------------

Comment(by Cas):

I have some relatively untested code that should work:

https://github.com/cas--/Deluge/compare/1.3-stable...Feature;Plugin;Extractor;SupportWindows

It requires 7-zip to be installed in default location or added to windows
PATH.

--
Ticket URL: <http://dev.deluge-torrent.org/ticket/2076#comment:4>

Deluge

unread,
Feb 5, 2013, 5:01:20 PM2/5/13
to delug...@googlegroups.com
#2076: [Extractor] Support for extracting rar on Windows
----------------------------+-----------------------------------------------
Reporter: kristixs | Owner:
Type: plugin-request | Status: new
Priority: major | Milestone: 1.3.6
Component: plugin | Version: 1.3.4
Keywords: |
----------------------------+-----------------------------------------------
Changes (by Cas):

* milestone: 1.3.x => 1.3.6


--
Ticket URL: <http://dev.deluge-torrent.org/ticket/2076#comment:5>

Deluge

unread,
Feb 15, 2013, 4:25:35 AM2/15/13
to delug...@googlegroups.com
#2076: [Extractor] Support for extracting rar on Windows
----------------------------+-----------------------------------------------
Reporter: kristixs | Owner:
Type: plugin-request | Status: new
Priority: major | Milestone: 1.3.6
Component: plugin | Version: 1.3.4
Keywords: |
----------------------------+-----------------------------------------------

Comment(by jkaberg):

Tried your code today, compiled the egg and updated the plugin in Deluge.
Didnt fly im affraid

Debug log: http://pastebin.com/af7JN3Lr
Directory list: http://pastebin.com/z0vjEMLT

--
Ticket URL: <http://dev.deluge-torrent.org/ticket/2076#comment:6>

Deluge

unread,
Feb 15, 2013, 4:26:46 AM2/15/13
to delug...@googlegroups.com
#2076: [Extractor] Support for extracting rar on Windows
----------------------------+-----------------------------------------------
Reporter: kristixs | Owner:
Type: plugin-request | Status: new
Priority: major | Milestone: 1.3.6
Component: plugin | Version: 1.3.4
Keywords: |
----------------------------+-----------------------------------------------

Comment(by jkaberg):

Replying to [comment:6 jkaberg]:

> Tried your code today, compiled the egg and updated the plugin in
Deluge. Didnt fly im affraid
>
> Debug log: http://pastebin.com/af7JN3Lr
> Directory list: http://pastebin.com/z0vjEMLT

PS: Nothing gets extracted, it just creates an empty dir in output
location

--
Ticket URL: <http://dev.deluge-torrent.org/ticket/2076#comment:7>

Deluge

unread,
Feb 15, 2013, 4:30:51 AM2/15/13
to delug...@googlegroups.com
#2076: [Extractor] Support for extracting rar on Windows
----------------------------+-----------------------------------------------
Reporter: kristixs | Owner:
Type: plugin-request | Status: new
Priority: major | Milestone: 1.3.6
Component: plugin | Version: 1.3.4
Keywords: |
----------------------------+-----------------------------------------------

Comment(by jkaberg):

Replying to [comment:6 jkaberg]:
> Tried your code today, compiled the egg and updated the plugin in
Deluge. Didnt fly im affraid
>
> Debug log: http://pastebin.com/af7JN3Lr
> Directory list: http://pastebin.com/z0vjEMLT

PS2: Why cant I edit? :( Anyhow, 7zip installed in default location
(C:\Program Files\7-Zip)

--
Ticket URL: <http://dev.deluge-torrent.org/ticket/2076#comment:8>

Deluge

unread,
Feb 15, 2013, 8:16:45 AM2/15/13
to delug...@googlegroups.com
#2076: [Extractor] Support for extracting rar on Windows
----------------------------+-----------------------------------------------
Reporter: kristixs | Owner:
Type: plugin-request | Status: new
Priority: major | Milestone: 1.3.6
Component: plugin | Version: 1.3.4
Keywords: |
----------------------------+-----------------------------------------------

Comment(by jkaberg):

So if I read your code correctly your passing
7z x -y C:\path\to\input.rar C:\path\to\output\dir

But your missing -o, this will work (I tested with manual input)
7z x -y C:\path\to\input.rar '''-o'''C:\path\to\output\dir

--
Ticket URL: <http://dev.deluge-torrent.org/ticket/2076#comment:9>

Deluge

unread,
Feb 15, 2013, 6:39:27 PM2/15/13
to delug...@googlegroups.com
#2076: [Extractor] Support for extracting rar on Windows
----------------------------+-----------------------------------------------
Reporter: kristixs | Owner:
Type: plugin-request | Status: new
Priority: major | Milestone: 1.3.6
Component: plugin | Version: 1.3.4
Keywords: |
----------------------------+-----------------------------------------------

Comment(by Cas):

The logs show that it is not using the new Extractor code, you will
actually need to delete the old version in `C:\Program
Files\Deluge\deluge-1.3.5-py2.6.egg\deluge\plugins`.

--
Ticket URL: <http://dev.deluge-torrent.org/ticket/2076#comment:10>

Deluge

unread,
Feb 16, 2013, 6:58:17 AM2/16/13
to delug...@googlegroups.com
#2076: [Extractor] Support for extracting rar on Windows
----------------------------+-----------------------------------------------
Reporter: kristixs | Owner:
Type: plugin-request | Status: new
Priority: major | Milestone: 1.3.6
Component: plugin | Version: 1.3.4
Keywords: |
----------------------------+-----------------------------------------------

Comment(by jkaberg):

Thats odd, thought I did that but rechecked, recompiled and tested again,
and this time it worked :) Nice work! Would it be possible to add an label
option to the extractor, so if the label plugin is enabled it would turn
out as /extract/to/<label>/<torrent name>/<files>.<ext>. Would really help
with automation

--
Ticket URL: <http://dev.deluge-torrent.org/ticket/2076#comment:11>

Deluge

unread,
Feb 21, 2013, 6:24:27 PM2/21/13
to delug...@googlegroups.com
#2076: [Extractor] Support for extracting rar on Windows
-----------------------------+----------------------------------------------
Reporter: kristixs | Owner:
Type: plugin-request | Status: closed
Priority: major | Milestone: 1.3.6
Component: plugin | Version: 1.3.4
Resolution: fixed | Keywords:
-----------------------------+----------------------------------------------
Changes (by Cas):

* status: new => closed
* resolution: => fixed


Comment:

Fixed 1.3-stable: [http://git.deluge-
torrent.org/deluge/commit/?h=1.3-stable&id=e2e37a83d e2e37a83d]

--
Ticket URL: <http://dev.deluge-torrent.org/ticket/2076#comment:12>

Deluge

unread,
Apr 23, 2014, 4:41:09 AM4/23/14
to delug...@googlegroups.com
#2076: [Extractor] Support for extracting rar on Windows
-----------------------------+--------------------
Reporter: kristixs | Owner:

Type: plugin-request | Status: closed
Priority: major | Milestone: 1.3.6
Component: Plugin | Version: 1.3.4
Resolution: Fixed | Keywords:
-----------------------------+--------------------

Comment (by keretamalam):

I am about to leave and cannot look into this further right now, but I do
want to mention that relying on pkg-config itself is not a problem (as you
said, we also use it later), the problem is that on some systems, the .pc
file for pkg-config is supplying wrong information (whereas on yours, it's
botan-config that is wrong), so that's why I'm trying to make it work with
both (while one of them is bad).
[http://maskodoq.blogspot.com/2014/03/unit-link-terbaik-di-indonesia.html
Unit Link Terbaik di Indonesia Commonwealth Life Investra Link]
[http://maskodoq.blogspot.com/2013/07/CiptoJunaedy.html Cipto Junaedy]
[http://etnisjawa.blogspot.com/2013/08/apakah-cipto-junaedy-bohong.html
Cipto Junaedy]

--
Ticket URL: <http://dev.deluge-torrent.org/ticket/2076#comment:13>

Reply all
Reply to author
Forward
0 new messages