Can't reinstall Deluge

General support for problems installing or using Deluge
Mario
Member
Member
Posts: 12
Joined: Sat Sep 15, 2012 11:05 pm

Re: Can't reinstall Deluge

Post by Mario »

It seems no matter what I do the extractor plugin is not compatible with move event.

Is this patch in 1.3.5?
http://dev.deluge-torrent.org/attachmen ... vent.patch

Can someone please confirm if this is the case becore I pull my hair out trying to get this to work. I really need this to work please.
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Can't reinstall Deluge

Post by Cas »

Please do not post again and again about the same issue across the forum. Either update this current post and/or comment on the ticket.

If you read the ticket it is clear that the patch cannot be applied to 1.3.x so another solution is required.

I had actually forgotten that it was a known bug in extractor and it is a timing issue so there is no workaround afaik.
Mario
Member
Member
Posts: 12
Joined: Sat Sep 15, 2012 11:05 pm

Re: Can't reinstall Deluge

Post by Mario »

OMG

So I've been struggling with this issue for days now when it was a software bug in the first place. Great... Maybe do people a favor and please add a note to indicate this bug in the plugin section beside "extractor"

As for posting all over. My response is four fold..

1. You've made two mistakes in your assistance which wasted both of our valuable time. The first was refering to "unrar" as "untar". You forgot about a known bug.

2. If I'm not mistaken this forum is a free and open commons for "Deluge" it is not a dictatorship.

3. You are not the only one in this forum who I'll assume is capable of replying to an individual.

4. My first issue was regarding installation. My second issue was later on about the extractor plugin. Because the second issue was burries in the first thread and different I decided to bring it forward to give it it's own identity for clarity to all. Not just you!

Our back grounds are different. You come from programming and I come from a law background. My approach is verbose for accuracy and clarity but this didn't conform to your desire to interpret such information and you ask me to change my approach which I did try.

There was little effort on your part to be a little more diplomatic with my "verbose" nature in conveying my problem. If you were, you wouldn't have made assumptions in what I did when I cleary explained the nature of my "verbose" appeal for help was to be accurate in explaining how I installed "Deluge" an anything beyond that I clearly didn't do.

Your quality of assistance having been both in error, assumptive and absent minded not only frustrates others in adopting the use of "Deluge" but also encourages people to say bad things about "Deluge" and the quality of assistance.

If I knew I could use this personally then I could use it for corporate reasons.

Kudos in what you've achieved especially considering you have no knowledge in why we wanted to use "Deluge" and how we often financially support open source projects whe use.
Mario
Member
Member
Posts: 12
Joined: Sat Sep 15, 2012 11:05 pm

WARNING! extractor + move_on_event BUG

Post by Mario »

To help assure nobody in the future endures my lost time and pain.

The Extractor plugin will not work with move_on_event. Don't chase this issue and don't ask for assistance until this bug has been fixed.

It will work fine as long as you do not use a move_on_event.

Now the question arrises, is there an external script beyond filebot that will make this work preferrably with a passworded archive. We would like test Deluge in a corporate ecosystem

I have no use for movies.
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Can't reinstall Deluge

Post by Cas »

There are many bugs and this take no precedent over the others and creating a new topic in plugins does not help as there is already a bug ticket http://dev.deluge-torrent.org/ticket/1126. I have updated the title to better reflect the issue.
Mario
Member
Member
Posts: 12
Joined: Sat Sep 15, 2012 11:05 pm

Re: Can't reinstall Deluge

Post by Mario »

Despite the "many bugs" I still feel you have the makings of a far superior product to what is currently available on the linux platform, at least for those of us who are not linux gurus.

Can Deluge be compiled with this patch?

http://dev.deluge-torrent.org/attachmen ... vent.patch

Has the patch been tested?
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Can't reinstall Deluge

Post by Cas »

Yes you could apply that to your code. You wouldn’t need to compile Deluge you can simply patch the files in /usr/shared/pyshared/deluge (keep backups of orig files).

I havn't tested it but there are no major code changes in it to cause concern.

I'm just thinking that you could just do the core changes (event and torrentmanager) then create a newer Extractor plugin version that contains the rest of the changes and install it as an egg. That would make future updates and/or reinstall simpler.
ZaPHoN
Member
Member
Posts: 18
Joined: Sun Jul 15, 2012 3:50 am

Re: Can't reinstall Deluge

Post by ZaPHoN »

Thanks a bunch... I'll give it a try and cross my fingers.
ZaPHoN
Member
Member
Posts: 18
Joined: Sun Jul 15, 2012 3:50 am

Re: Can't reinstall Deluge

Post by ZaPHoN »

I've backed up files and extremely carefully patched the related files paying very close attention to tab position but I can't seem to enable extractor in the webui. I don't have the GTk installed.

I tried adding "Extractor to:

~/.config/core.conf

Code: Select all

  "enabled_plugins": [
    "Extractor"
    "Execute", 
    "AutoAdd", 
    "Label", 
    "Scheduler"
Extractor still remains unchecked. Any suggestions?

I used Sublime to insert the patched code.

daemon log

Code: Select all

[ERROR   ] 16:51:43 config:387 Expecting , delimiter: line 49 column 5 (char 1389)
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/config.py", line 385, in load
    self.__config.update(json.loads(data[start:end]))
  File "/usr/lib/python2.7/json/__init__.py", line 326, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
    obj, end = self.scan_once(s, idx)
ValueError: Expecting , delimiter: line 49 column 5 (char 1389)
[WARNING ] 16:51:43 config:388 Unable to load config file: /home/mario/.config/deluge/core.conf
[WARNING ] 16:51:43 torrentmanager:630 Unable to update state file to a compatible version: list index out of range
[WARNING ] 16:51:43 torrentmanager:733 Unable to load fastresume file: [Errno 2] No such file or directory: '/home/mario/.config/deluge/state/torrents.fastresume'
[ERROR   ] 16:52:22 pluginmanagerbase:146 Unable to instantiate plugin!
[ERROR   ] 16:52:22 pluginmanagerbase:147 invalid syntax (core.py, line 53)
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/pluginmanagerbase.py", line 144, in enable_plugin
    instance = cls(plugin_name.replace("-", "_"))
  File "/usr/lib/python2.7/dist-packages/deluge/plugins/Extractor-0.1.egg/extractor/__init__.py", line 44, in __init__
    from core import Core as _plugin_cls
  File "/usr/lib/python2.7/dist-packages/deluge/plugins/Extractor-0.1.egg/extractor/core.py", line 53
    "use_name_folder": True,
                    ^
SyntaxError: invalid syntax
[ERROR   ] 16:52:29 pluginmanagerbase:146 Unable to instantiate plugin!
[ERROR   ] 16:52:29 pluginmanagerbase:147 invalid syntax (core.py, line 53)
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/pluginmanagerbase.py", line 144, in enable_plugin
    instance = cls(plugin_name.replace("-", "_"))
  File "/usr/lib/python2.7/dist-packages/deluge/plugins/Extractor-0.1.egg/extractor/__init__.py", line 44, in __init__
    from core import Core as _plugin_cls
  File "/usr/lib/python2.7/dist-packages/deluge/plugins/Extractor-0.1.egg/extractor/core.py", line 53
    "use_name_folder": True,
                    ^
SyntaxError: invalid syntax
[WARNING ] 16:52:32 config:361 Unable to open config file /home/mario/.config/deluge/label.conf: [Errno 2] No such file or directory: '/home/mario/.config/deluge/label.conf'
[WARNING ] 16:52:33 config:361 Unable to open config file /home/mario/.config/deluge/scheduler.conf: [Errno 2] No such file or directory: '/home/mario/.config/deluge/scheduler.conf'
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Can't reinstall Deluge

Post by Cas »

Make sure the indentations and line endings are consistent. I'll test the code when I get a chance.
Post Reply