Deluge doesn't start

General support for problems installing or using Deluge
Post Reply
User avatar
BTB
Member
Member
Posts: 11
Joined: Sun Sep 09, 2007 6:03 am

Deluge doesn't start

Post 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. :)
nightfever

Re: Deluge doesn't start

Post 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...
Darman

Re: Deluge doesn't start

Post 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. ;)
nightfever

Re: Deluge doesn't start

Post by nightfever »

yeah this worked for me too
thanks!
OceanWave

Re: Deluge doesn't start

Post 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!!
MIRV

Re: Deluge doesn't start

Post 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
ozsynergy

Re: Deluge doesn't start

Post 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)
:x

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.
j32
New User
New User
Posts: 6
Joined: Thu Mar 27, 2008 4:29 pm

Re: Deluge doesn't start

Post 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?
Last edited by j32 on Sun Apr 06, 2008 5:43 pm, edited 2 times in total.
realcs

Re: Deluge doesn't start[CRASH]

Post 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
Post Reply