Opened 16 years ago
Closed 15 years ago
#984 closed bug (WontFix)
Can't browse in ajax web UI
Reported by: | Trahloc | Owned by: | andar |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Unknown | Version: | 1.1.8 |
Keywords: | Cc: |
Description
I may have incorrectly posted this in: http://forum.deluge-torrent.org/viewtopic.php?f=7&t=13705
Background: I'm running freebsd 7.2 amd64 and added deluge 1.1.9 from the ports collection, I can't select 1.1.9 in the Version option as its missing in the bug report page.
To summarize: When I try adding a torrent and select the file option and then click "browse" the add window exits with no error on the webpage.
Console window shows:
# Traceback (most recent call last):
File "/usr/local/lib/python2.6/site-packages/deluge/ui/webui/lib/webpy022/webapi.py", line 310, in wsgifunc
result = func()
File "/usr/local/lib/python2.6/site-packages/deluge/ui/webui/lib/webpy022/request.py", line 131, in <lambda>
func = lambda: handle(inp, fvars)
File "/usr/local/lib/python2.6/site-packages/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/local/lib/python2.6/site-packages/deluge/ui/webui/page_decorators.py", line 87, in deco
return func(self, name) #check_session:ok
File "/usr/local/lib/python2.6/site-packages/deluge/ui/webui/json_api.py", line 258, in POST
tmp_file = open(path, 'w')
IOError: [Errno 21] Is a directory: '/tmp/'
[ERROR ] 13:54:48 json_api:75 JSON-error:local variable 'metadata' referenced before assignment:local variable 'metadata' referenced before assignment