Deluge Fails to Start

Bug #370596 reported by ɞєᾐ ἂ.
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
deluge (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: deluge

Deluge fails to start on Jaunty; both the official repository package and the package from the PPA are affected. Clearing Deluge's config directory does not help. Here's the error:

Traceback (most recent call last):
  File "/usr/bin/deluge", line 8, in <module>
    load_entry_point('deluge==1.1.7', 'console_scripts', 'deluge')()
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 277, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 2180, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1913, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/var/lib/python-support/python2.6/deluge/main.py", line 49, in <module>
    import deluge.common
  File "/var/lib/python-support/python2.6/deluge/common.py", line 46, in <module>
    import xdg, xdg.BaseDirectory
ImportError: No module named xdg

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

Do you have python-xdg installed?

deluge-core depends on it, but the error is claiming you don't have it.

Changed in deluge (Ubuntu):
status: New → Incomplete
Revision history for this message
ɞєᾐ ἂ. (talkingwires) wrote :

Yes. That was the first thing I checked. I also installed every package named *xdg* for the hell of it.

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

Perhaps it is installed to a non-default location? What's the output of:

locate BaseDirectory.py

Revision history for this message
Hew (hew) wrote :

We'd like to figure out what's causing this bug for you, but we haven't heard back from you in a while. Could you please provide the requested information? Thanks!

tags: removed: deluge jaunty
summary: - [Jaunty] Deluge Fails to Start
+ Deluge Fails to Start
Revision history for this message
ɞєᾐ ἂ. (talkingwires) wrote :

/usr/share/python-support/python-xdg/xdg/BaseDirectory.py

Revision history for this message
Cristian Greco (cgreco) wrote : more info

Hi,

could you please paste (to a pastebin service, or attach a file) the output of
the following commands?

$ ls -l /usr/share/python-support/deluge*
$ cat /usr/share/python-support/deluge*
$ ls -lR /usr/share/pyshared/deluge*

Thanks,
--
Cristian Greco
GPG key ID: 0x0C095825

Revision history for this message
ɞєᾐ ἂ. (talkingwires) wrote :

$ ls -l /usr/share/python-support/deluge*

Revision history for this message
ɞєᾐ ἂ. (talkingwires) wrote :

cat /usr/share/python-support/deluge*

Revision history for this message
ɞєᾐ ἂ. (talkingwires) wrote :

ls -lR /usr/share/pyshared/deluge*

...huh, this one claims that there's no such file or directory...

Revision history for this message
Bernhard (b.a.koenig) wrote :

My deluge fails to start since today (June 4th) and it must be related to the libtorrent updates that I downloaded earlier today. Could somebody check on this?

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

@Bernhard

I assume you're running Karmic? Deluge 1.1.8+dfsg-3 was just synced from Debian. It might not have it your mirror yet. What version of libtorrent-rasterbar (0.14.3-1 is the latest in karmic) and deluge are you running? Are you receiving the same error as the original reporter?

If you are running karmic and have the newest versions but your bug persists, please open a new bug specific to your issue, unless you are receiving the same error as the original reporter.

Thanks for your report.

Revision history for this message
Patrick Walker (phobiac) wrote :

I can confirm the same issue, and it's happening on jaunty. I marked bug #383509 as a duplicate of this one, but I am now unsure if it is the exact some issue. The problem is that deluge starts up, and the gtk UI does not load. I attempted to use it using the console UI and was able only to connect to the local deluge daemon, but commands such as info do not work. To be sure, I compiled from source, and the issue is still there.
Attached is the output of deluge --loglevel=debug, loading the default UI which in my case is the gtk UI.

Revision history for this message
Patrick Walker (phobiac) wrote :

I forgot to add, this also shows up in the terminal, separate from the logfile, and may be the source of the issue.
/var/lib/python-support/python2.6/deluge/ui/gtkui/mainwindow.py:63: Warning: g_bookmark_file_load_from_data: assertion `length != 0' failed
  "glade/main_window.glade"))

Revision history for this message
dust (hannes-b) wrote :

i reported https://bugs.launchpad.net/bugs/383509

deluge worked until the update to 1.1.8 on jaunty.

so my report is dedicated to changes that happened with the update!

this bug here seems to be different because it is a bug a month old not related to the update.

Revision history for this message
Bernhard (b.a.koenig) wrote :

Yes, this is an issue in jaunty, my deluge is 1.1.8 and my libtorrent-rasterbar2 is 0.14.4. There were like 3 different updates of this thing today in the repos and it still does not work currently.

Revision history for this message
Bernhard (b.a.koenig) wrote :

OK, let's move this to bug 383509. Patrick, can you also paste your backtrace over there?

Revision history for this message
Patrick Walker (phobiac) wrote :

I apologize for any confusion I may have caused, I've moved the info over to bug 383509.

Revision history for this message
Bernhard (b.a.koenig) wrote :

To the bug reporter: could you please check if this is still an issue for you?

Revision history for this message
dust (hannes-b) wrote :

i already closed the bug https://bugs.launchpad.net/bugs/383509 i reported, as the updates solved the problem and deluge works.

thanks to the person who solved the problem so quickly! :)

Revision history for this message
Charles Kerr (charlesk) wrote :

This bug report is being closed due to your last comment regarding this being fixed with an update. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status . Thank you again for taking the time to report this bug and helping to make Ubuntu better. Please submit any future bugs you may find.

Changed in deluge (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.