Value Error: could not convert string to int

General support for problems installing or using Deluge
thewabbit
New User
New User
Posts: 3
Joined: Sat Jun 24, 2017 9:27 am
OS or Distro: Windows 10

Value Error: could not convert string to int

Postby thewabbit » Sat Jun 24, 2017 9:35 am

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
Super Seeder
Super Seeder
Posts: 396
Joined: Mon Apr 20, 2015 10:20 pm
OS or Distro: Windows 7, Manjaro

Re: Value Error: could not convert string to int

Postby Shryp » Sat Jun 24, 2017 9:56 am

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
OS or Distro: Windows 10

Re: Value Error: could not convert string to int

Postby thewabbit » Sat Jun 24, 2017 10:10 am

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: 3467
Joined: Mon Dec 07, 2009 6:04 am
OS or Distro: Ubuntu 16.04
Location: Scotland

Re: Value Error: could not convert string to int

Postby Cas » Sat Jun 24, 2017 10:23 am

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
OS or Distro: Windows 10

Re: Value Error: could not convert string to int

Postby thewabbit » Sat Jun 24, 2017 10:02 pm

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


Return to “Support”

Who is online

Users browsing this forum: Google [Bot] and 16 guests