Page 1 of 1
Deluge doesn't start
Posted: Thu Feb 14, 2008 12:18 am
by BTB
So, I wasn't able to add a torrent earlier today, so I shut down deluge and tried restarting from a terminal. It begins to start, then gets to Starting new Deluge session... then hangs with this error:
Code: Select all
Traceback (most recent call last):
File "/usr/bin/deluge", line 145, in <module>
start_deluge()
File "/usr/bin/deluge", line 128, in start_deluge
interface = deluge.interface.DelugeGTK()
File "/var/lib/python-support/python2.5/deluge/interface.py", line 54, in __init__
common.CONFIG_DIR)
File "/var/lib/python-support/python2.5/deluge/core.py", line 205, in __init__
if not os.path.exists(TORRENTS_SUBDIR):
File "/usr/lib/python2.5/posixpath.py", line 171, in exists
st = os.stat(path)
TypeError: coercing to Unicode: need string or buffer, NoneType found
Any help would be thoroughly appreciated.

Re: Deluge doesn't start
Posted: Mon Feb 25, 2008 11:00 am
by nightfever
same problem here...
serban:/home/serban# deluge
checking for ubuntu...
Traceback (most recent call last):
File "/usr/bin/deluge", line 135, in ?
subprocess.Popen(["dbus-launch", "deluge"] + sys.argv[1:])
File "/usr/lib/python2.4/subprocess.py", line 543, in __init__
errread, errwrite)
File "/usr/lib/python2.4/subprocess.py", line 975, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
serban:/home/serban#
worked for a while, but then i changed the mounts of my ntfs hdds, and now it refuses to start
i've removed it from synaptic, removed the settings, reinstalled and still doesn't work...
Re: Deluge doesn't start
Posted: Mon Feb 25, 2008 1:04 pm
by Darman
I had the same problem and after a little searching I found the solution, simply execute the following command: rm-fR ~ / .config / deluge, I hope that helps.

Re: Deluge doesn't start
Posted: Mon Feb 25, 2008 10:26 pm
by nightfever
yeah this worked for me too
thanks!
Re: Deluge doesn't start
Posted: Fri Feb 29, 2008 9:47 am
by OceanWave
Hello everyone, I am having the same problem that I cannot get Deluge to start.
OS: Ubuntu 7.10
Deluge: 0.5.8.4-1
I did follow the FAQ and removed the "persistent.state" file, but that did not fix it at all. The only way that I can get it to start again is to remove the whole deluge folder under ~/.config, then Deluge will start and I have to configure it again. However, as soon as I exit Deluge, it won't start again...
My Ubuntu is a fresh install and doesn't have much going on, so I doubt that it is any other causes other than Deluge itself.
I hope someone who had experienced the similar issue can kindly give me some pointers in fixing it.
Thanks in advance!!
Re: Deluge doesn't start
Posted: Sun Mar 02, 2008 1:28 am
by MIRV
If you are getting this error on a debian or debian like distro (*ubuntu ) I just read that dbus-launch has been moved into dbus-x11 package and they havn't set the dependencies properly.. Someone should not this in the install instructions on the main deluge site cause this problem is a real pain in the butt
Re: Deluge doesn't start
Posted: Wed Mar 19, 2008 10:01 am
by ozsynergy
Ok theres two issues here.
If your getting this error:
File "/var/lib/python-support/python2.5/deluge/core.py", line 205, in __init__
if not os.path.exists(TORRENTS_SUBDIR):
File "/usr/lib/python2.5/posixpath.py", line 171, in exists
st = os.stat(path)
TypeError: coercing to Unicode: need string or buffer, NoneType found
$ sudo vim /var/lib/python-support/python2.5/deluge/core.py
go to line 207 and make these changes. (note the two lines commented out)
:207
Code: Select all
# Ensure directories exist
#if not os.path.exists(TORRENTS_SUBDIR):
# os.mkdir(TORRENTS_SUBDIR)
And that problem is gone.
Well I've noticed on Deluge 0.5.8.6 i cant access the preferencs dialog box. I can't see the connection between my changes and the dialog box being broken.
But other than that its running ok.
This is on Ubuntu 7.10 btw.
Re: Deluge doesn't start
Posted: Thu Apr 03, 2008 9:54 pm
by j32
OK, but what can I do on Mac's Leopard with this error?
- bash-3.2$ /opt/local/bin/deluge
Traceback (most recent call last):
File "/opt/local/bin/deluge", line 135, in <module>
subprocess.Popen(["dbus-launch", "deluge"] + sys.argv[1:])
File "/opt/local/lib/python2.5/subprocess.py", line 594, in __init__
errread, errwrite)
File "/opt/local/lib/python2.5/subprocess.py", line 1091, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Following command: rm-fR ~ / .config / deluge is only for Ubuntu?
Re: Deluge doesn't start[CRASH]
Posted: Sat Apr 05, 2008 9:44 pm
by realcs
When i open Deluge 0.5.8.7 ... my screen with deluge crash... disapear... why ? Thx. Pls Mail Me At ...
realcs99@yahoo.com Thx