hmm, experiencing the same problem.
it seems to be executing the command fine, just nothing happens?
Deluge Does Not Open
Re: Deluge Does Not Open
Hi all!
Try checking my solution in the following post, to Deluge 0.9.07 not working in Windows XP:
http://forum.deluge-torrent.org/viewtop ... 805#p40805
Basically, what happened is that I have a non-English Windows XP, and the Program Files folder isn't in english and is called something else. So, since the path 'C:\Program Files\Deluge\...' is static in a couple Python scripts, it gives that error, that it cannot find python.exe.
The solution is basically change the path in those scripts. Hope it helps.
Cheers!
Try checking my solution in the following post, to Deluge 0.9.07 not working in Windows XP:
http://forum.deluge-torrent.org/viewtop ... 805#p40805
Basically, what happened is that I have a non-English Windows XP, and the Program Files folder isn't in english and is called something else. So, since the path 'C:\Program Files\Deluge\...' is static in a couple Python scripts, it gives that error, that it cannot find python.exe.
The solution is basically change the path in those scripts. Hope it helps.

Cheers!
Re: Deluge Does Not Open
nice try but it didn't work for me.
isn't that line commented out anyway?
isn't that line commented out anyway?
Re: Deluge Does Not Open
Yes it seems so... all I know is that on my system, if I leave those scripts with 'C:\Program Files\...', Deluge won't start. If I change the path, it starts.johnnyg wrote:nice try but it didn't work for me.
isn't that line commented out anyway?

The problem must be somewhere else, then...
Just to clarify, I never had Python interpreter installed in this Windows XP. It's a Windows XP Home SP3, running on a MSI Megabook S270 laptop, with a Turion 64 MT34 (1.8GHZ) single core processor, with 1.5GB RAM and a 250GB IDE disk. The chipset is a ATi Xpress200M, with onboard graphics.
UPDATE: I don't know much about Python, but I'm no stranger to basic programming (C, Java, etc). Found out (in the 'Dive Into Python' book), that '#!' on the first line of a script indicates the working path to the Python interpreter. That explains why it works for me.
Maybe other scripts have the same issue??
UPDATE 2: Interesting! I tried to insert a PAUSE before the EXIT in the deluge2.cmd script, which is called from the deluge.cmd script run by the Start menu shortcut, and it doesn't pause... which means it doesn't run deluge2.cmd at all when the python scripts have the original path?!... need to check it out further...
UPDATE 3: Ran deluge2.cmd directly, after inserting the PAUSE before the EXIT, and showed this (with original path in Python scripts):
Code: Select all
C:\Programas\Deluge\scripts>if not defined PROGRAMFILES(X86) (set PATH=C:\Progra
mas\Deluge\scripts;C:\Programas\deluge;C:\Programas\deluge\Lib\site-packages\del
uge-0.9.07-py2.5-win32.egg\deluge;C:\Programas\deluge\Lib\site-packages\deluge-0
.9.07-py2.5-win32.egg\deluge\lib;C:\Programas\deluge\Lib\site-packages\deluge-0.
9.07-py2.5-win32.egg\deluge\share;C:\Programas\deluge\Lib\site-packages\deluge-0
.9.07-py2.5-win32.egg\deluge\etc;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Syste
m32\Wbem;C:\Programas\ATI Technologies\ATI Control Panel; && set PYTHONPATH=C:\Pr
ogramas\deluge\Lib;C:\Programas\deluge\DLLs;C:\Programas\deluge\Lib\site-packages;
&& set FOLDER=C:\Programas\deluge\scripts ) else (set PATH=C:\Programas\Deluge\scri
pts;\deluge;\deluge\Lib\site-packages\deluge-0.9.07-py2.5-win32.egg\deluge;\deluge\Lib\
site-packages\deluge-0.9.07-py2.5-win32.egg\deluge\lib;\deluge\Lib\site-packages\deluge-
0.9.07-py2.5-win32.egg\deluge\share;\deluge\Lib\site-packages\deluge-0.9.07-py2.5-win32
.egg\deluge\etc;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\
Programas\ATI Technologies\ATI Control Panel; && set PYTHONPATH=\deluge\Lib;\deluge
\DLLs;\deluge\Lib\site-packages; && set FOLDER=\deluge\scripts )
C:\Programas\Deluge\scripts>"C:\Programas\Deluge\scripts\deluge.exe"
Cannot find Python executable c:\Program Files\deluge\python.exe
C:\Programas\Deluge\scripts>PAUSE
Prima qualquer tecla para continuar . . .
Code: Select all
C:\Programas\Deluge\scripts>C:\WINDOWS\startx.exe /B /NOUI "C:\Programas\Deluge\
scripts\deluge2.cmd"
C:\Programas\Deluge\scripts>PAUSE
Prima qualquer tecla para continuar . . .
Re: Deluge Does Not Open
I believe RC7 still doesn't work for us 64 bit users even if we change the scripts, unless I was changing the wrong ones but I think I just changed all of them...
New idea! Wouldn't it be possible to copy the old scripts from RC6 into a RC7 install? Then use the same workaround since it works with RC6... it still doesn't fix the problem but it should still allow me to run it. Going to try it right now...
Nope, doesn't work either. Error message this way...
New idea! Wouldn't it be possible to copy the old scripts from RC6 into a RC7 install? Then use the same workaround since it works with RC6... it still doesn't fix the problem but it should still allow me to run it. Going to try it right now...
Nope, doesn't work either. Error message this way...
Code: Select all
[INFO ] 19:22:43 main:93 Deluge ui 0.9.07
[DEBUG ] 19:22:43 main:94 options: {'config': None, 'logfile': 'deluge.log', 'ui': None}
[DEBUG ] 19:22:43 main:95 args: []
Traceback (most recent call last):
File "C:\Program Files (x86)\Deluge\scripts\deluge-script.py", line 8, in <module>
load_entry_point('deluge==0.9.07', 'console_scripts', 'deluge')()
File "c:\program files\deluge\lib\site-packages\deluge-0.9.07-py2.5-win32.egg\deluge\main.py", line 97, in start_ui
from deluge.ui.ui import UI
File "c:\program files\deluge\lib\site-packages\deluge-0.9.07-py2.5-win32.egg\deluge\ui\ui.py", line 34, in <module>
import deluge.configmanager
File "c:\program files\deluge\lib\site-packages\deluge-0.9.07-py2.5-win32.egg\deluge\configmanager.py", line 34, in <module>
import gobject
File "c:\Program Files\deluge\lib\site-packages\gtk-2.0\gobject\__init__.py", line 30, in <module>
from gobject.constants import *
File "c:\Program Files\deluge\lib\site-packages\gtk-2.0\gobject\constants.py", line 22, in <module>
from _gobject import type_from_name
ImportError: DLL load failed: The specified module could not be found.
Re: Deluge Does Not Open
when you run a python script in linux, by just calling the script, the shell reads that first line and invokes the correct interpreter.Arawn wrote:Found out (in the 'Dive Into Python' book), that '#!' on the first line of a script indicates the working path to the Python interpreter. That explains why it works for me.johnnyg wrote:nice try but it didn't work for me.
isn't that line commented out anyway?
if you give the script straight to python, it'll just ignore that line (which I think is what happens here).
but it is strange it works for you.
like loki said we've got two different issues: deluge wasn't working for you because your program files directory is in spanish, while it's not working for us seeing we're using a 64 bit operating system.
I think the way to fix this problem is to allow the user to choose what directory to use and then use that in the cmd scripts.
That should prevent other problems for people who have exotic program files paths

Ideally it would be nice if deluge actually allowed you to use a existing installation of python rather than bundling itself with one.
Is slurdge still working on the installer?
Re: Deluge Does Not Open
Im using winxp (32bit) and I also have same issue with 0.9.8 version.. I click the shotcout and nothing happens only opens a DOS box and quickly close it.. if I try directly deluge.exe it gives me the python.exe message error... any solution for Xp users?
Re: Deluge Does Not Open
RC8 still does not open, I tried the same idea as before and got this error message... I hope this is helping someone figure out the problem with these last 2 builds.
Code: Select all
[INFO ] 14:11:34 main:93 Deluge ui 0.9.08
[DEBUG ] 14:11:34 main:94 options: {'config': None, 'logfile': 'deluge.log', 'ui': None}
[DEBUG ] 14:11:34 main:95 args: []
Traceback (most recent call last):
File "C:\Program Files (x86)\Deluge\scripts\deluge-script.py", line 8, in <module>
load_entry_point('deluge==0.9.08', 'console_scripts', 'deluge')()
File "c:\program files\deluge\lib\site-packages\deluge-0.9.08-py2.5-win32.egg\deluge\main.py", line 97, in start_ui
from deluge.ui.ui import UI
File "c:\program files\deluge\lib\site-packages\deluge-0.9.08-py2.5-win32.egg\deluge\ui\ui.py", line 34, in <module>
import deluge.configmanager
File "c:\program files\deluge\lib\site-packages\deluge-0.9.08-py2.5-win32.egg\deluge\configmanager.py", line 34, in <module>
import gobject
File "c:\Program Files\deluge\lib\site-packages\gtk-2.0\gobject\__init__.py", line 30, in <module>
from gobject.constants import *
File "c:\Program Files\deluge\lib\site-packages\gtk-2.0\gobject\constants.py", line 22, in <module>
from _gobject import type_from_name
ImportError: DLL load failed: The specified module could not be found.
Re: Deluge Does Not Open
Yeah, I'm having problems with 0.9.07 (very very slow and sluggish) and 0.9.08 (doesn't open at all). Even after deleting the Deluge folder and cleaning the registry it still will not work. So I'm back to 0.5.9.3 which works fine. Good thing I didn't delete it! My system is XP Pro with the latest updates.
Re: Deluge Does Not Open
I am also a Windows XP Pro SP3 32 bit user.
The only way that I can load torrents into RC8 is by enabling the auto add folder in preferences to desktop. When downloading torrents, I just save the torrent files to desktop and it automatically loads them in.
The add torrent dialog does not work at all. I select a torrent, hit OK, and nothing happens. As far as I can tell, it is completely broken. In some cases it does not even bring up that dialog box.
I would also like the percent complete added back into the peers tab.
Finally, I am in need of the flexrss plugin in 1.00, before I remove 0.5.9.3 from my computer.
The only way that I can load torrents into RC8 is by enabling the auto add folder in preferences to desktop. When downloading torrents, I just save the torrent files to desktop and it automatically loads them in.
The add torrent dialog does not work at all. I select a torrent, hit OK, and nothing happens. As far as I can tell, it is completely broken. In some cases it does not even bring up that dialog box.
I would also like the percent complete added back into the peers tab.
Finally, I am in need of the flexrss plugin in 1.00, before I remove 0.5.9.3 from my computer.