webui keeps breaking

General support for problems installing or using Deluge
Post Reply
markp1989
Member
Member
Posts: 21
Joined: Thu Sep 10, 2009 9:32 pm

webui keeps breaking

Post by markp1989 »

I decided to change to deluge, and remove torrentflux from my server as its ment to be lighter and doesnt need all the data base stuff.

In the middle of configuring the webui i get a error:

edit: im using this init script to start deluge: http://dev.deluge-torrent.org/wiki/UserGuide/InitScript
edit: the first time it happened after changing the password, the 2nd it happened after changing the theme

Code: Select all

--Deluge Error--
Fault : <Fault 1: "<type 'exceptions.IndexError'>:address_v4 from unsigned long">
path : /index
file : /var/lib/python-support/python2.6/deluge/xmlrpclib.py in close, line 786

--Input--
<Storage {'filter_value': 'All', 'filter_cat': 'state', 'order': 'down', 'sort': 'download_rate'}>

--Versions--
WebUi : 1.1.6r
Python 2.6.2 (release26-maint, Apr 19 2009, 01:58:18) 
[GCC 4.3.3]:

--Traceback--
  File "/var/lib/python-support/python2.6/deluge/ui/webui/lib/webpy022/webapi.py", line 310, in wsgifunc
    result = func()
  File "/var/lib/python-support/python2.6/deluge/ui/webui/lib/webpy022/request.py", line 131, in <lambda>
    func = lambda: handle(inp, fvars)
  File "/var/lib/python-support/python2.6/deluge/ui/webui/lib/webpy022/request.py", line 61, in handle
    return tocall(*([x and urllib.unquote(x) for x in args] + fna))
  File "/var/lib/python-support/python2.6/deluge/ui/webui/page_decorators.py", line 87, in deco
    return func(self, name) #check_session:ok
  File "/var/lib/python-support/python2.6/deluge/ui/webui/page_decorators.py", line 105, in deco
    return func(self, name) #check_connected:ok
  File "/var/lib/python-support/python2.6/deluge/ui/webui/page_decorators.py", line 60, in deco
    res = func(self, name) #deluge_page_noauth
  File "/var/lib/python-support/python2.6/deluge/ui/webui/page_decorators.py", line 156, in deco
    return func(self, name) #auto_refreshed
  File "/var/lib/python-support/python2.6/deluge/ui/webui/pages.py", line 116, in GET
    torrents =  proxy.get_torrents_status(filter_dict, TORRENT_KEYS)
  File "/var/lib/python-support/python2.6/deluge/xmlrpclib.py", line 1150, in __call__
    return self.__send(self.__name, args)
  File "/var/lib/python-support/python2.6/deluge/xmlrpclib.py", line 1440, in __request
    verbose=self.__verbose
  File "/var/lib/python-support/python2.6/deluge/ui/client.py", line 93, in request
    return self._parse_response(h.getfile(), sock)
  File "/var/lib/python-support/python2.6/deluge/xmlrpclib.py", line 1343, in _parse_response
    return u.close()
  File "/var/lib/python-support/python2.6/deluge/xmlrpclib.py", line 787, in close
    raise Fault(**self._stack[0])

im running ubuntu 9.04.

i have tried removing the webconfiguration file, and starting fresh, and i always end up with the same error eventualy,

how do i fix this?

thanks Markp1989
Last edited by markp1989 on Thu Sep 10, 2009 10:26 pm, edited 1 time in total.
markp1989
Member
Member
Posts: 21
Joined: Thu Sep 10, 2009 9:32 pm

Re: webui keeps breaking

Post by markp1989 »

edit just started fresh, and it craped out when trying to upload a torrent file to the server,

these seem like basic things for a torrent client.

is it me doing something stupid or is the webui really bad?
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: webui keeps breaking

Post by andar »

The first bug is fixed by upgrading to a recent version of libtorrent, preferably 0.14.5.
markp1989
Member
Member
Posts: 21
Joined: Thu Sep 10, 2009 9:32 pm

Re: webui keeps breaking

Post by markp1989 »

Code: Select all

mark@torrentslave:~$ sudo apt-get install python-libtorrent 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python-libtorrent is already the newest version.
python-libtorrent set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 42 not upgraded.
mark@torrentslave:~$ 
hey thanks for the reply i tried to install python-libtorrent (thats the 1 you ment right?) and it says i have the newest 1 installed.

edit: i found a libtorrent11 in the repos, i installed it , il post back in a bit to tell you how it went edit: never mind, it still broken
markp1989
Member
Member
Posts: 21
Joined: Thu Sep 10, 2009 9:32 pm

Re: webui keeps breaking

Post by markp1989 »

andar wrote:The first bug is fixed by upgrading to a recent version of libtorrent, preferably 0.14.5.
i just checked on the libtorrent site, it says the latest release is 0.12.5?
markp1989
Member
Member
Posts: 21
Joined: Thu Sep 10, 2009 9:32 pm

Re: webui keeps breaking

Post by markp1989 »

i got it sorted thanks, i installede the packages from the deluge ppa insted of the ubuntu repos and everything seems cool now :D


thanks for the reply
Post Reply