Page 1 of 1

Webui oddity when accessed via Transdroid

Posted: Tue May 17, 2011 1:40 pm
by chimora
Hi all.

I've previously had a headless Deluge setup running on Ubuntu 10.04 and had been able to add torrents from the Android app Transdroid without issue.

Recently I've switched to Debian Squeeze and am now having some odd issues. Everything runs fine, except for adding torrents from Transdroid's search function. I am able to use Transdroid to add a torrent if I've already downloaded the .torrent file. It's just adding from search results that doesn't work.

Not much changed when I moved to Debian. I'm no longer running deluged and deluge-webui as root, now they run as user "deluge". I've enabled logging. And I had to chown the deluge directory to the deluge user. Other than that, nothing else has changed (that I can think of).

Here is the relevant code from the logs when I try to add from search results:
/$logpath/web/warning.log-

Code: Select all

IOError: 
--------------------------------------------------------------------------------
[ERROR   ] 08:45:42 client:375 RPCError Message Received!
--------------------------------------------------------------------------------
RPCRequest: core.add_torrent_url(http://btjunkie.org/torrent/$torrentname/download.torrent, [])
--------------------------------------------------------------------------------
  File "/usr/lib/pymodules/python2.6/deluge/core/rpcserver.py", line 297, in on_fail
    failure.raiseException()
  File "/usr/lib/python2.6/dist-packages/twisted/web/client.py", line 415, in pageStart
    self.file = self.openFile(partialContent)
  File "/usr/lib/python2.6/dist-packages/twisted/web/client.py", line 402, in openFile
    file = open(self.fileName, 'wb')
/$logpath/daemon/warning.log-

Code: Select all

[ERROR   ] 08:45:42 core:246 Error occured downloading torrent from http://btjunkie.org/torrent/$torrentname/download.torrent
[ERROR   ] 08:45:42 core:247 Reason: [Errno 13] Permission denied: 'download.torrent'
[WARNING ] 08:45:52 pluginmanager:100 Status field label is not registered with the                    PluginManager.
That last line there is repeated about 15 times or so. Not sure if that matters, but I just didn't want to spam.

I've triple-checked and triple-chowned the /.config/deluge directory, verified everything in the init script (as best I can) as well as /etc/default/deluge

Re: Webui oddity when accessed via Transdroid

Posted: Tue May 17, 2011 5:49 pm
by chimora
I should probably mention that I am using the same settings that I had on my previous install. I just backed up the deluge/ directory and copied it into place on the new install. I've gone through all the files in there and edited them as necessary but I'm guessing there is one setting I need to change to get this working with Transdroid's search/add function.

Re: Webui oddity when accessed via Transdroid

Posted: Wed May 18, 2011 4:54 pm
by Cas
You have not said what version of Deluge you are using, latest version is 1.3.1

Re: Webui oddity when accessed via Transdroid

Posted: Fri May 20, 2011 3:45 pm
by chimora
Ah, that could very well be my issue. Currently I am running the most up-to-date version in the Squeeze repos: 1.2.3.

I'll have to take a swing at using either the unstable repos or perhaps try the guide in the FAQ here to use the ubuntu lucid repos.