Value Error: could not convert string to int

General support for problems installing or using Deluge
Post Reply
thewabbit
New User
New User
Posts: 3
Joined: Sat Jun 24, 2017 9:27 am

Value Error: could not convert string to int

Post 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?
Shryp
Moderator
Moderator
Posts: 521
Joined: Mon Apr 20, 2015 10:20 pm

Re: Value Error: could not convert string to int

Post 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?
thewabbit
New User
New User
Posts: 3
Joined: Sat Jun 24, 2017 9:27 am

Re: Value Error: could not convert string to int

Post 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
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Value Error: could not convert string to int

Post 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.
thewabbit
New User
New User
Posts: 3
Joined: Sat Jun 24, 2017 9:27 am

Re: Value Error: could not convert string to int

Post by thewabbit »

Ahh!! That did the trick, cleared everything under AppData\Roaming\Deluge, started it, and boom, working. Cheers!!
Post Reply