Webui oddity when accessed via Transdroid

General support for problems installing or using Deluge
Post Reply
chimora
New User
New User
Posts: 6
Joined: Fri Mar 04, 2011 6:21 pm

Webui oddity when accessed via Transdroid

Post 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
chimora
New User
New User
Posts: 6
Joined: Fri Mar 04, 2011 6:21 pm

Re: Webui oddity when accessed via Transdroid

Post 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.
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Webui oddity when accessed via Transdroid

Post by Cas »

You have not said what version of Deluge you are using, latest version is 1.3.1
chimora
New User
New User
Posts: 6
Joined: Fri Mar 04, 2011 6:21 pm

Re: Webui oddity when accessed via Transdroid

Post 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.
Post Reply