Opened 13 years ago

Closed 13 years ago

#268 closed bug (Fixed)

webui crashes when changing default download folder

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

Description

--Deluge Error--
Fault : <Fault 1: "<type 'exceptions.KeyError'>:'default_private'">
path : /config/download
file : /usr/lib/python2.5/site-packages/deluge-0.6.0.0-py2.5-linux-i686.egg/deluge/xmlrpclib.py in close, line 786

--Input--
<Storage {'autoadd_location': '', 'download_location': '/var/torrent', 'submit': 'Save', 'compact_allocation': 'on', 'torrentfiles_location': '/home/deluge/.config/deluge/torrentfiles'}>

--Versions--
WebUi : rev.185
Python : 2.5.2 (r252:60911, Apr 21 2008, 11:12:42) 
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)]
dbus:0.82.4

--Traceback--
  File "/usr/lib/python2.5/site-packages/deluge-0.6.0.0-py2.5-linux-i686.egg/deluge/ui/webui/lib/webpy022/webapi.py", line 304, in wsgifunc
    result = func()
  File "/usr/lib/python2.5/site-packages/deluge-0.6.0.0-py2.5-linux-i686.egg/deluge/ui/webui/lib/webpy022/request.py", line 131, in <lambda>
    func = lambda: handle(inp, fvars)
  File "/usr/lib/python2.5/site-packages/deluge-0.6.0.0-py2.5-linux-i686.egg/deluge/ui/webui/lib/webpy022/request.py", line 61, in handle
    return tocall(*([x and urllib.unquote(x) for x in args] + fna))
  File "/usr/lib/python2.5/site-packages/deluge-0.6.0.0-py2.5-linux-i686.egg/deluge/ui/webui/page_decorators.py", line 52, in deco
    return func(self, name) #check_session:ok
  File "/usr/lib/python2.5/site-packages/deluge-0.6.0.0-py2.5-linux-i686.egg/deluge/ui/webui/page_decorators.py", line 70, in deco
    return func(self, name) #check_connected:ok
  File "/usr/lib/python2.5/site-packages/deluge-0.6.0.0-py2.5-linux-i686.egg/deluge/ui/webui/page_decorators.py", line 25, in deco
    res = func(self, name) #deluge_page_noauth
  File "/usr/lib/python2.5/site-packages/deluge-0.6.0.0-py2.5-linux-i686.egg/deluge/ui/webui/config_forms.py", line 106, in POST
    form.start_save()
  File "/usr/lib/python2.5/site-packages/deluge-0.6.0.0-py2.5-linux-i686.egg/deluge/ui/webui/lib/newforms_plus.py", line 91, in start_save
    self.save(data)
  File "/usr/lib/python2.5/site-packages/deluge-0.6.0.0-py2.5-linux-i686.egg/deluge/ui/webui/config_forms.py", line 75, in save
    proxy.set_config(dict(data))
  File "/usr/lib/python2.5/site-packages/deluge-0.6.0.0-py2.5-linux-i686.egg/deluge/xmlrpclib.py", line 1150, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.5/site-packages/deluge-0.6.0.0-py2.5-linux-i686.egg/deluge/xmlrpclib.py", line 1440, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.5/site-packages/deluge-0.6.0.0-py2.5-linux-i686.egg/deluge/xmlrpclib.py", line 1204, in request
    return self._parse_response(h.getfile(), sock)
  File "/usr/lib/python2.5/site-packages/deluge-0.6.0.0-py2.5-linux-i686.egg/deluge/xmlrpclib.py", line 1343, in _parse_response
    return u.close()
  File "/usr/lib/python2.5/site-packages/deluge-0.6.0.0-py2.5-linux-i686.egg/deluge/xmlrpclib.py", line 787, in close
    raise Fault(**self._stack[0])

Change History (2)

comment:1 Changed 13 years ago by anonymous

  • Summary changed from webui crashes when changing default downloading folder to webui crashes when changing default download folder

comment:2 Changed 13 years ago by mvoncken

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

fixed

Note: See TracTickets for help on using tickets.