Page 1 of 1

Value Error: could not convert string to int

Posted: Sat Jun 24, 2017 9:35 am
by thewabbit
Hey all

Just trying to install delgue on my pc (have it running on RPI and OSX) and am encountering a bizarre error.

I'm running windows 10 (64bit), fresh install of python 2.7.13, fresh install of GTK2-Runtime 2.24.10 and a fresh install of deluge 1.3.15.

When I run deluge.exe, nothing appears. It will show in task manager for a few moments, then disappear. Running deluge-debug gives me this python error....

Code: Select all

Traceback (most recent call last):
  File "<string>", line 6, in <module>
  File "__main__.py", line 128, in <module>
  File "__main__deluge-debug__.py", line 11, in <module>
  File "deluge\main.py", line 137, in start_ui
  File "deluge\ui\ui.py", line 153, in __init__
  File "deluge\ui\gtkui\gtkui.py", line 260, in __init__
  File "deluge\ui\gtkui\torrentview.py", line 248, in __init__
  File "deluge\ui\gtkui\listview.py", line 210, in __init__
  File "deluge\ui\gtkui\listview.py", line 331, in load_state
ValueError: could not convert string to int
I have moved the entry in my PATH for GTK2-Runtime to right after python (as suggested in another thread) but that has made no difference.

Does anyone have an idea as to what the problem might be?

Re: Value Error: could not convert string to int

Posted: Sat Jun 24, 2017 9:56 am
by Shryp
For Windows you just need to download and run the installer. You don't need to have python or gtk installed and you don't need to mess with PATH at all. Are you trying to do something special with your setup?

Re: Value Error: could not convert string to int

Posted: Sat Jun 24, 2017 10:10 am
by thewabbit
The only reason I did a fresh install of python (had it installed already) and installed GTK was because I was having the above issue.

I've finally had it with utorrent so wanted to change over to deluge - only a standard install, not planning on doing anything special with it

Re: Value Error: could not convert string to int

Posted: Sat Jun 24, 2017 10:23 am
by Cas
It's a problem with your config, specifically gtk state file. Try with a fresh config

As Shryp says none of other things were needed nor would have any effect if you are using just the standard Deluge installer.

Re: Value Error: could not convert string to int

Posted: Sat Jun 24, 2017 10:02 pm
by thewabbit
Ahh!! That did the trick, cleared everything under AppData\Roaming\Deluge, started it, and boom, working. Cheers!!