Opened 16 years ago

Closed 15 years ago

#701 closed bug (Fixed)

py traceback when changing list views

Reported by: mneptok@mneptok.com Owned by: mvoncken
Priority: major Milestone:
Component: Web UI Version: 1.1.0_RC3
Keywords: Cc:

Description

changing list views (All, Seeding, Downloading, etc) results in the following:

--Deluge Error-- Fault : <Fault 1: "<type 'exceptions.TypeError'>:inet_aton() argument 1 must be string, not None"> path : /index file : /var/lib/python-support/python2.5/deluge/xmlrpclib.py in close, line 786

--Input-- <Storage {'filter_value': 'Downloading', 'filter_cat': 'state', 'order': 'up', 'sort': 'ratio'}>

--Versions-- WebUi : 1.1.0-RC3r Python 2.5.2 (r252:60911, Jul 31 2008, 17:31:22) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)]:

--Traceback--

File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/webapi.py", line 310, in wsgifunc

result = func()

File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/request.py", line 131, in <lambda>

func = lambda: handle(inp, fvars)

File "/var/lib/python-support/python2.5/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.5/deluge/ui/webui/page_decorators.py", line 75, in deco

return func(self, name) #check_session:ok

File "/var/lib/python-support/python2.5/deluge/ui/webui/page_decorators.py", line 93, in deco

return func(self, name) #check_connected:ok

File "/var/lib/python-support/python2.5/deluge/ui/webui/page_decorators.py", line 48, in deco

res = func(self, name) #deluge_page_noauth

File "/var/lib/python-support/python2.5/deluge/ui/webui/page_decorators.py", line 144, in deco

return func(self, name) #auto_refreshed

File "/var/lib/python-support/python2.5/deluge/ui/webui/pages.py", line 103, in GET

torrents = proxy.get_torrents_status(filter_dict, TORRENT_KEYS)

File "/var/lib/python-support/python2.5/deluge/xmlrpclib.py", line 1150, in call

return self.send(self.name, args)

File "/var/lib/python-support/python2.5/deluge/xmlrpclib.py", line 1440, in request

verbose=self.verbose

File "/var/lib/python-support/python2.5/deluge/ui/client.py", line 81, in request

return self._parse_response(h.getfile(), sock)

File "/var/lib/python-support/python2.5/deluge/xmlrpclib.py", line 1343, in _parse_response

return u.close()

File "/var/lib/python-support/python2.5/deluge/xmlrpclib.py", line 787, in close

raise Fault(self._stack[0])

Change History (1)

comment:1 by Damien Churchill, 15 years ago

Resolution: fixed
Status: newclosed

Rewritten webui in 1.2 no longer has this issue.

Note: See TracTickets for help on using tickets.