Opened 16 years ago

Closed 16 years ago

#336 closed bug (Fixed)

WebUI Crashes when enabling "Set private flag by default"

Reported by: idomagic <idomagic@gmail.com> Owned by: mvoncken
Priority: major Milestone:
Component: Web UI Version: 0.6.0svn
Keywords: Cc:

Description

WebUI crashed when I tried to enable "Set private flag by default"

Build 3408

Error message:

--Deluge Error--
Fault : <Fault 1: "<type 'exceptions.KeyError'>:'default_private'">
path : /config/download
file : /var/lib/python-support/python2.5/deluge/xmlrpclib.py in close, line 786

--Input--
<Storage {'autoadd_location': '/home/idoop', 'default_private': 'on', 'download_location': '/home/idoop', 'submit': 'Save', 'torrentfiles_location': '/home/idoop/torrentfiles'}>

--Versions--
WebUi : 0.6.0.0r
Python 2.5.2 (r252:60911, May  7 2008, 15:19:09) 
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)]:
dbus:0.82.4

--Traceback--
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/webapi.py", line 304, 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 52, in deco
    return func(self, name) #check_session:ok
  File "/var/lib/python-support/python2.5/deluge/ui/webui/page_decorators.py", line 70, in deco
    return func(self, name) #check_connected:ok
  File "/var/lib/python-support/python2.5/deluge/ui/webui/page_decorators.py", line 25, in deco
    res = func(self, name) #deluge_page_noauth
  File "/var/lib/python-support/python2.5/deluge/ui/webui/config_forms.py", line 106, in POST
    form.start_save()
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/newforms_plus.py", line 91, in start_save
    self.save(data)
  File "/var/lib/python-support/python2.5/deluge/ui/webui/config_forms.py", line 75, in save
    proxy.set_config(dict(data))
  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/xmlrpclib.py", line 1204, 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 idomagic <idomagic@gmail.com>, 16 years ago

Resolution: fixed
Status: newclosed

Just realized this was fixed in svn 3414, it has not made it's way to ubuntu repo yet though.

Note: See TracTickets for help on using tickets.