Page 1 of 1

No UI with 1.2.0_rc3

Posted: Mon Nov 02, 2009 7:12 pm
by Pneumonic
I'm running XP 32 SP3. Everything was fine yesterday and then today deluge just stopped wanting to work. I was running 1.1.9 and I couldn't get the ui to launch, so after seeing if the console output anything (which it didn't - aside from the commands it was supposed to run) I decided to upgrade to 1.2.0 rc3. Unfortunately that didn't work either. However, I can launch the daemon and the web ui and when I do that I can see that deluge is running. Unfortunately the UI never starts so it's useless and I don't want to use the web ui for everyday things. I deleted my preferences folder and that didn't do anything either. It recreated my preferences folder with only 2 files in it (ui.conf and ui.conf~). In my old folder the only log that was present was the deluged.log and it was empty. I'm stumped as to what is wrong, but would love some assistance with figuring it out. If you need more information please let me know. I'd be more than happy to give it.

Re: No UI with 1.2.0_rc3

Posted: Mon Nov 02, 2009 7:22 pm
by andar
Pneumonic wrote:I'm running XP 32 SP3. Everything was fine yesterday and then today deluge just stopped wanting to work. I was running 1.1.9 and I couldn't get the ui to launch, so after seeing if the console output anything (which it didn't - aside from the commands it was supposed to run) I decided to upgrade to 1.2.0 rc3. Unfortunately that didn't work either. However, I can launch the daemon and the web ui and when I do that I can see that deluge is running. Unfortunately the UI never starts so it's useless and I don't want to use the web ui for everyday things. I deleted my preferences folder and that didn't do anything either. It recreated my preferences folder with only 2 files in it (ui.conf and ui.conf~). In my old folder the only log that was present was the deluged.log and it was empty. I'm stumped as to what is wrong, but would love some assistance with figuring it out. If you need more information please let me know. I'd be more than happy to give it.
You could modify your deluge.cmd script to do some debug logging which may help identify the problem. I think I will include some deluge-debug.cmd files in the next release to assist with this in the future.

In the deluge.cmd file right after the deluge.exe change it to look like this:

Code: Select all

...deluge.exe -L debug -l deluge.log"
Now double click on that cmd file to launch deluge. There will be a log file in your Program Files/Deluge folder, open it to see the contents of the debug logging.

Re: No UI with 1.2.0_rc3

Posted: Mon Nov 02, 2009 7:32 pm
by Pneumonic
Added that and got nothing else... However when I ran deluge.exe from the command prompt I got this:

Code: Select all

C:\>cd progra~1\deluge\deluge-python

C:\PROGRA~1\Deluge\Deluge-Python>deluge.exe
[ERROR   ] 13:28:06 __init__:1082 DLL load failed: The specified procedure could
 not be found.
Traceback (most recent call last):
  File "deluge\ui\ui.py", line 127, in __init__
  File "deluge\ui\gtkui\__init__.py", line 1, in <module>
  File "deluge\ui\gtkui\gtkui.py", line 40, in <module>
  File "twisted/internet/gtk2reactor.py", line 35, in <module>
  File "gobject/__init__.py", line 30, in <module>
  File "gobject/constants.py", line 22, in <module>
  File "gobject/_gobject.py", line 14, in <module>
ImportError: DLL load failed: The specified procedure could not be found.
[ERROR   ] 13:28:06 ui:147 There was an error whilst launching the request UI: g
tk
[ERROR   ] 13:28:06 ui:148 Look at the traceback above for more information.
and here's how my deluge.cmd looks:

Code: Select all

@ECHO OFF
SET DELUGEFOLDER="C:\Program Files\Deluge"
SET STARTX_APP="C:\Program Files\Deluge\StartX.exe"

IF ""%1"" == """" ( 
  %STARTX_APP% /B /D%DELUGEFOLDER% "C:\Program Files\Deluge\Deluge-Python\deluge.exe -L debug -l deluge.log"
) ELSE ( 
  %STARTX_APP% /B /D%DELUGEFOLDER% "C:\Program Files\Deluge\Deluge-Python\deluge.exe -L debug -l deluge.log  "%1" "%2" "%3" "%4""
)
Thanks for the help.

[edit]I also made sure that python was in my path (2.5.4)[/edit]

Re: No UI with 1.2.0_rc3

Posted: Mon Nov 02, 2009 7:40 pm
by andar
Pneumonic wrote:Added that and got nothing else... However when I ran deluge.exe from the command prompt I got this:

Code: Select all

C:\>cd progra~1\deluge\deluge-python

C:\PROGRA~1\Deluge\Deluge-Python>deluge.exe
[ERROR   ] 13:28:06 __init__:1082 DLL load failed: The specified procedure could
 not be found.
Traceback (most recent call last):
  File "deluge\ui\ui.py", line 127, in __init__
  File "deluge\ui\gtkui\__init__.py", line 1, in <module>
  File "deluge\ui\gtkui\gtkui.py", line 40, in <module>
  File "twisted/internet/gtk2reactor.py", line 35, in <module>
  File "gobject/__init__.py", line 30, in <module>
  File "gobject/constants.py", line 22, in <module>
  File "gobject/_gobject.py", line 14, in <module>
ImportError: DLL load failed: The specified procedure could not be found.
[ERROR   ] 13:28:06 ui:147 There was an error whilst launching the request UI: g
tk
[ERROR   ] 13:28:06 ui:148 Look at the traceback above for more information.
and here's how my deluge.cmd looks:

Code: Select all

@ECHO OFF
SET DELUGEFOLDER="C:\Program Files\Deluge"
SET STARTX_APP="C:\Program Files\Deluge\StartX.exe"

IF ""%1"" == """" ( 
  %STARTX_APP% /B /D%DELUGEFOLDER% "C:\Program Files\Deluge\Deluge-Python\deluge.exe -L debug -l deluge.log"
) ELSE ( 
  %STARTX_APP% /B /D%DELUGEFOLDER% "C:\Program Files\Deluge\Deluge-Python\deluge.exe -L debug -l deluge.log  "%1" "%2" "%3" "%4""
)
Thanks for the help.

[edit]I also made sure that python was in my path (2.5.4)[/edit]
It looks like you're having an issue with the GTK installation. Try uninstalling GTK and removing any remnants in your system (C:\GTK, C:\Program Files\GTK*) and then reinstalling the GTK runtime from our site: http://download.deluge-torrent.org/wind ... 12-ash.exe

Re: No UI with 1.2.0_rc3

Posted: Mon Nov 02, 2009 7:59 pm
by Pneumonic
Well that seemed to have made it work again. Now I need to figure out what the last program was that modified my gtk installation. :D Thanks for the help! You're awesome!