Can't start Deluge

Specific support for Deluge on Microsoft Windows OS
Post Reply
Xhizors

Can't start Deluge

Post by Xhizors »

Hello guys, I've been a long time Vuze and uTorrent user. A friend of mine recommended me Deluge and it looked great, so I thought why not give it a chance :lol: The problem is I can't get it to start. The error I get is :

Code: Select all

Failed to run the program, Error:193, %1 is not a valid Win32 application
I use Windows 7.

Any help is appreciated.
flolypops
New User
New User
Posts: 3
Joined: Fri Jul 02, 2010 3:54 pm

Re: Can't start Deluge

Post by flolypops »

You can try this :
Start deluge from the Command Line and watch for error messages. Post complete output and If necessary, start deluge in verbose mode.
~]$ deluge -L debug -l ~/deluge.log
For details:
~]$ deluge --help
stheg
Member
Member
Posts: 10
Joined: Sat Jan 03, 2009 7:28 pm

Re: Can't start Deluge

Post by stheg »

Xhizors wrote:Hello guys, I've been a long time Vuze and uTorrent user. A friend of mine recommended me Deluge and it looked great, so I thought why not give it a chance :lol: The problem is I can't get it to start. The error I get is :

Code: Select all

Failed to run the program, Error:193, %1 is not a valid Win32 application
I use Windows 7.

Any help is appreciated.
I don't know if you are still looking for a solution, but here is my 2% of your base currency unit:

This could be due to a faulty install. The %1 is a variable. The Windows Registry commonly uses it in the command line to open programs. For instance, the one for Deluge is HKey_Classes_Root\Deluge\shell\open\command\(default)\"C:\Program Files (x86)\Deluge\deluge.cmd" "%1"
This could also be due to a problem parsing Deluge's launch command. If you look in the deluge.cmd file, you will see a line that says, "%STARTX_APP% /B /D%DELUGEFOLDER% "C:\Program Files (x86)\Deluge\Deluge-Python\deluge.exe "%1" "%2" "%3" "%4""

In any event, you should check out a debug log. To get one, open an elevated command prompt and enter the command:

cd %programfiles(x86)%\deluge\deluge-python <------ assuming that you have 64bit, use %programfiles% for 32bit

then enter

deluge.exe -L debug -l .\debug.log <------ creates the debug log in the deluge-python folder


Note to the devs: Shouldn't the command, "%STARTX_APP% /B /D%DELUGEFOLDER%..." be "%STARTX_APP% /B /D %DELUGEFOLDER% ...", or is the space between /D and %DELUGEFOLDER% optional?
Post Reply