Search found 6 matches

by mindthemonkey
Sat Mar 05, 2011 6:46 am
Forum: Windows OS
Topic: Deluge 1.3.x on Windows server 2008 R2
Replies: 6
Views: 15302

Re: Deluge 1.3.x on Windows server 2008 R2

Gen. Hospital, what OS are you on?
I tried setting up a service in 2003 Server and ran into the issues detailed in another thread
by mindthemonkey
Sat Mar 05, 2011 5:49 am
Forum: Windows OS
Topic: running deluged as another user (and service)
Replies: 7
Views: 12942

Re: running deluged as another user (and service)

For the service setup, you need the Windows Resource Kit tools instsrv.exe and srvany.exe Install a new service called "deluged" on the command line with: "C:\Program Files\Windows Resource Kits\Tools\instsrv.exe" deluged "C:\Program Files\Windows Resource Kits\Tools\srvany....
by mindthemonkey
Sat Mar 05, 2011 5:34 am
Forum: Windows OS
Topic: running deluged as another user (and service)
Replies: 7
Views: 12942

Re: running deluged as another user (and service)

sorry i didn't realise it was that easy to modify the running code here otherwise i would have put together a full patch. thanks for that, although deluge was producing an error as the returned appDataPath object didn't have a .len: [ERROR ] 15:45:52 __init__:1080 object of type 'NoneType' has no le...
by mindthemonkey
Mon Jan 31, 2011 12:47 pm
Forum: Windows OS
Topic: running deluged as another user (and service)
Replies: 7
Views: 12942

Re: running deluged as another user (and service)

sorry for my internal dialogue here... going by that google groups page, the directory name could be pulled, if os.environ.get("APPDATA") is undefined with something like: appdatapath = _winreg.QueryValueEx(hkey, "AppData") hkey = _winreg.OpenKey(_winreg.HKEY_CURRENT_USER, "...
by mindthemonkey
Mon Jan 31, 2011 12:10 pm
Forum: Windows OS
Topic: running deluged as another user (and service)
Replies: 7
Views: 12942

Re: running deluged as another user (and service)

It looks like the APPDATA environment variable is not available when the process is launched via runas or via the service which i assume uses the same windows functionality. same issue discussed for another language here: http://groups.google.com/group/microsoft.public.vc.language/browse_thread/thre...
by mindthemonkey
Mon Jan 31, 2011 11:09 am
Forum: Windows OS
Topic: running deluged as another user (and service)
Replies: 7
Views: 12942

running deluged as another user (and service)

hello. i'm trying to setup deluged on a windows 2003 server to run as the user "deluged" via the srvany tool included in the windows resource kit. The following error occurs when running as a service [ERROR ] 21:59:59 __init__:1080 object of type 'NoneType' has no len() Traceback (most rec...