No UI with 1.2.0_rc3

General support for problems installing or using Deluge
Post Reply
Pneumonic
New User
New User
Posts: 6
Joined: Mon Nov 02, 2009 6:59 pm

No UI with 1.2.0_rc3

Post 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.
"Either you're a part of the problem or you're a part of the solution. What's your contribution to life?" -J5
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: No UI with 1.2.0_rc3

Post 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.
Pneumonic
New User
New User
Posts: 6
Joined: Mon Nov 02, 2009 6:59 pm

Re: No UI with 1.2.0_rc3

Post 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]
"Either you're a part of the problem or you're a part of the solution. What's your contribution to life?" -J5
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: No UI with 1.2.0_rc3

Post 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
Pneumonic
New User
New User
Posts: 6
Joined: Mon Nov 02, 2009 6:59 pm

Re: No UI with 1.2.0_rc3

Post 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!
"Either you're a part of the problem or you're a part of the solution. What's your contribution to life?" -J5
Post Reply