[Plugin] FlexGet - RSS Solution (Deluge 1.1 and 1.2+)

Suggest, post, or discuss plugins for Deluge
Post Reply
yzf600

Re: Deluge RSS plugin for FlexGet (works with 1.1 and 1.2)

Post by yzf600 »

johnnyg wrote:
You need to add a user to the auth file.
See here: http://dev.deluge-torrent.org/wiki/User ... entication
I forgot to mention I tried that already. It didn't work.
gazpachoking
Moderator
Moderator
Posts: 315
Joined: Sat Aug 18, 2007 2:28 pm
Location: Pittsburgh, USA

Re: Deluge RSS plugin for FlexGet (works with 1.1 and 1.2)

Post by gazpachoking »

yzf600 wrote:
johnnyg wrote:
You need to add a user to the auth file.
See here: http://dev.deluge-torrent.org/wiki/User ... entication
I forgot to mention I tried that already. It didn't work.
My previous questions remain; Is flexget running on the same machine as deluge? If so, are they running as the same user? If not, is it possible to try that? Everything should work automatically in that case (no need to specify user/pass from flexget.) If it is not practical or possible for you to run flexget on the same machine as the same user, you can test your auth credentials from the gtkui. If you can remotely log in from a gtkui, you should be able to use all the same info (user, pass, host, port) you use in the gtk connection manager.
elson wrote:When using the label option, deluged logs an error that the label already exists after the first torrent added. The torrent still seems to be added without any other problems however. Here's the relevant log section:

Code: Select all

[ERROR   ] 15:40:59 rpcserver:286 Exception calling RPC request: Label already exists
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/deluge/core/rpcserver.py", line 281, in dispatch
    ret = self.factory.methods[method](*args, **kwargs)
  File "build/bdist.linux-i686/egg/label/core.py", line 188, in add
    CheckInput(not (label_id in self.labels) , _("Label already exists"))
  File "build/bdist.linux-i686/egg/label/core.py", line 88, in CheckInput
    raise Exception(message)
Exception: Label already exists
Thought you might want to know, thanks for the fantastic plugin :-)
This is fixed now.
elson
New User
New User
Posts: 6
Joined: Thu Dec 31, 2009 3:05 pm

Re: Deluge RSS plugin for FlexGet (works with 1.1 and 1.2)

Post by elson »

gazpachoking wrote:This is fixed now.
That's fantastic, thanks so much,

Any idea when this will be available as an egg, as opposed to through SVN? I am keen to get this, and the fix in r1086 :)
gazpachoking
Moderator
Moderator
Posts: 315
Joined: Sat Aug 18, 2007 2:28 pm
Location: Pittsburgh, USA

Re: Deluge RSS plugin for FlexGet (works with 1.1 and 1.2)

Post by gazpachoking »

elson wrote:
gazpachoking wrote:This is fixed now.
That's fantastic, thanks so much,

Any idea when this will be available as an egg, as opposed to through SVN? I am keen to get this, and the fix in r1086 :)
I'm not sure, paranoidi usually packages up the new eggs and puts them on the site. You could build the egg yourself if you want, just download from svn (r1088 is the one that fixes the duplicate label error message) run bootstrap.py, and run 'bin/paver build bdist_egg' and it should create the egg for you. (I'm not 100% sure on the paver command, it's that or something very similar, I can't test right now, I'll update the post when I verify.)
Zinom
Member
Member
Posts: 23
Joined: Tue Jan 12, 2010 6:50 pm

Re: Deluge RSS plugin for FlexGet (works with 1.1 and 1.2)

Post by Zinom »

gazpachoking wrote:This is fixed now.
The error-messages has disappeared but some of the torrents doesn't get labeled for some reason.. :( My label-settings are global and it's not a certain feed working incorrectly. It seems to be random.. :?
gazpachoking
Moderator
Moderator
Posts: 315
Joined: Sat Aug 18, 2007 2:28 pm
Location: Pittsburgh, USA

Re: Deluge RSS plugin for FlexGet (works with 1.1 and 1.2)

Post by gazpachoking »

Zinom wrote:
gazpachoking wrote:This is fixed now.
The error-messages has disappeared but some of the torrents doesn't get labeled for some reason.. :( My label-settings are global and it's not a certain feed working incorrectly. It seems to be random.. :?
Yah, the error message and the torrents not getting labeled don't have anything to do with eachother. Torrents not getting labeled only seems to appear when a large amount of torrents are added to deluge at once. I'm still trying to track down the cause of that issue, I don't believe it's related to flexget at the moment. I think it might be some weirdness with deluge, as somebody has reported the same symptoms when adding many torrents at once using the AutoAdd plugin. Any help/logs that might indicate where the problem lies would be appreciated.
EDIT: I haven't been able to reploduce this behavior with the autoadd plugin myself, looking more likely that it is a bug in my flexget plugin.
EDIT: Nope not a deluge problem, I am getting close to a fix I think.
EDIT: Fixed in r1089
Last edited by gazpachoking on Sun Jan 17, 2010 7:12 pm, edited 1 time in total.
Faz
Member
Member
Posts: 10
Joined: Sun Jan 17, 2010 6:20 pm

Re: Deluge RSS plugin for FlexGet (works with 1.1 and 1.2)

Post by Faz »

I am having a slight problem getting this to work, mostly a newb with python on linux.
When running flexget I get the error "Deluge module required." but its installed and a search shows a deluge package in python2.6.

/usr/lib/pymodules/python2.6/deluge
/usr/lib/pymodules/python2.5/deluge

Is there something I am just overlooking?
Zinom
Member
Member
Posts: 23
Joined: Tue Jan 12, 2010 6:50 pm

Re: Deluge RSS plugin for FlexGet (works with 1.1 and 1.2)

Post by Zinom »

gazpachoking wrote:EDIT: Fixed in r1089
Amazingly fast! Much appreciated! :mrgreen:

Edit: Tested and it's working perfectly now! :) Thanks a lot.
gazpachoking
Moderator
Moderator
Posts: 315
Joined: Sat Aug 18, 2007 2:28 pm
Location: Pittsburgh, USA

Re: Deluge RSS plugin for FlexGet (works with 1.1 and 1.2)

Post by gazpachoking »

Faz wrote:I am having a slight problem getting this to work, mostly a newb with python on linux.
When running flexget I get the error "Deluge module required." but its installed and a search shows a deluge package in python2.6.

/usr/lib/pymodules/python2.6/deluge
/usr/lib/pymodules/python2.5/deluge

Is there something I am just overlooking?
I have made the ImportError more verbose now, it should indicate whether it is deluge or one of it's dependencies failing. Try r1090
Faz
Member
Member
Posts: 10
Joined: Sun Jan 17, 2010 6:20 pm

Re: Deluge RSS plugin for FlexGet (works with 1.1 and 1.2)

Post by Faz »

gazpachoking wrote: I have made the ImportError more verbose now, it should indicate whether it is deluge or one of it's dependencies failing. Try r1090
"Deluge module and it's dependencies required. ImportError: No module named deluge.ui.client"
I am attempting to run flexget on the same box as my headless deluge server. Is the UI client really needed? The console client has been installed already.
Post Reply