Opened 16 years ago

Closed 16 years ago

#336 closed bug (Fixed)

WebUI Crashes when enabling "Set private flag by default"

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


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/ in close, line 786

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

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

  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/", line 304, in wsgifunc
    result = func()
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/", line 131, in <lambda>
    func = lambda: handle(inp, fvars)
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/", 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/", line 52, in deco
    return func(self, name) #check_session:ok
  File "/var/lib/python-support/python2.5/deluge/ui/webui/", line 70, in deco
    return func(self, name) #check_connected:ok
  File "/var/lib/python-support/python2.5/deluge/ui/webui/", line 25, in deco
    res = func(self, name) #deluge_page_noauth
  File "/var/lib/python-support/python2.5/deluge/ui/webui/", line 106, in POST
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/", line 91, in start_save
  File "/var/lib/python-support/python2.5/deluge/ui/webui/", line 75, in save
  File "/var/lib/python-support/python2.5/deluge/", line 1150, in __call__
    return self.__send(self.__name, args)
  File "/var/lib/python-support/python2.5/deluge/", line 1440, in __request
  File "/var/lib/python-support/python2.5/deluge/", line 1204, in request
    return self._parse_response(h.getfile(), sock)
  File "/var/lib/python-support/python2.5/deluge/", line 1343, in _parse_response
    return u.close()
  File "/var/lib/python-support/python2.5/deluge/", line 787, in close
    raise Fault(**self._stack[0])

Change History (1)

comment:1 Changed 16 years ago by idomagic <>

  • Resolution set to fixed
  • Status changed from new to closed

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.