Custom Query (2449 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (67 - 69 of 2449)

Ticket Resolution Summary Owner Reporter
#1473 Fixed Adding support for switching uid after startup for daemons cinderblock
Description

I've written a patch to let deluged and deluge-web be started by root and then switch UIDs (and GIDs). The main reason for this (for me) is so they can write a pidfile (specified at the command line) as root and then switch to regular/lower privileges.

I also cleaned up the forking in deluged (before ever looking at the deluge-web source) and then saw that it was done in this much cleaner way in the deluge-web daemon.

#1503 Fixed Adding torrent in GTK crashed Console UI nick Cas
Description

I added a torrent to the gtk ui while the console was also open and the console crashed. Attached is the error log.

This was while testing on git master and is the result of the recent changes.

In event.py a new parameter, from_state, was added to the class TorrentAddedEvent? however 'request' is missing that parameter when ui/client.py calls that method so raises the '2 not 3' args error

Despite understanding the problem I could not work out how to fix this.

#316 Fixed Adding torrent in ui via ui gives error mvoncken anonymous
Description

Reproducible every time -- still adds torrent, but you get an error every time.

--Deluge Error-- NameError? : global name 'this' is not defined path : /torrent/add file : /var/lib/python-support/python2.5/deluge/ui/webui/torrent_add.py in POST, line 123

--Input-- <Storage {'max_download_speed_per_torrent': 'Unlimited', 'max_upload_speed_per_torrent': 'Unlimited', 'url': 'http://www.mininova.org/get/1552195', 'download_location': '/home/john', 'redir': , 'submit': 'Submit', 'max_connections_per_torrent': 'Unlimited', 'max_upload_slots_per_torrent': 'Unlimited', 'torrent': }>

--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 "/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/torrent_add.py", line 124, in POST

this.redirect(vars.choose_files)

Note: See TracQuery for help on using queries.