problem running deluge 1.1.3

General support for problems installing or using Deluge
Post Reply
graysky
Leecher
Leecher
Posts: 54
Joined: Sun Oct 05, 2008 11:28 am

problem running deluge 1.1.3

Post by graysky »

I got Deluge 1.1.3 compiled on a distro that's based on Arch Linux. I compiled it from the PKGBUILD in the official Arch Repo without errors and it installed also without errors. I can't get it to load though.

Code: Select all

$ deluge 
Traceback (most recent call last):
  File "/usr/bin/deluge", line 8, in <module>
    load_entry_point('deluge==1.1.3', 'console_scripts', 'deluge')()
  File "/usr/lib/python2.6/site-packages/deluge/main.py", line 120, in start_ui
    UI(options, args, options.args)
  File "/usr/lib/python2.6/site-packages/deluge/ui/ui.py", line 54, in __init__
    from deluge.ui.gtkui.gtkui import GtkUI
  File "/usr/lib/python2.6/site-packages/deluge/ui/gtkui/gtkui.py", line 44, in <module>
    from torrentview import TorrentView
  File "/usr/lib/python2.6/site-packages/deluge/ui/gtkui/torrentview.py", line 44, in <module>
    deluge.common.get_pixmap("downloading16.png"))
glib.GError: Couldn't recognize the image file format for file '/usr/lib/python2.6/site-packages/deluge/data/pixmaps/downloading16.png'
I'm not sure what the output is pointing to as a problem. I'm running fluxbox if that makes a difference, but I know deluge runs under fluxbox just fine because I've used it under fluxbox on my old debian box.
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: problem running deluge 1.1.3

Post by andar »

You need librsvg
graysky
Leecher
Leecher
Posts: 54
Joined: Sun Oct 05, 2008 11:28 am

Re: problem running deluge 1.1.3

Post by graysky »

Could it be something else? I installed it but still won't launch.
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: problem running deluge 1.1.3

Post by andar »

Oh, maybe it's a png library.. Shouldn't your distribution package be installing the proper deps for you?
graysky
Leecher
Leecher
Posts: 54
Joined: Sun Oct 05, 2008 11:28 am

Re: problem running deluge 1.1.3

Post by graysky »

I was missing two packages: librsvg and shared-mime-info! Now 1.1.3 or 1.1.4 works - Thank you :)
graysky
Leecher
Leecher
Posts: 54
Joined: Sun Oct 05, 2008 11:28 am

Re: problem running deluge 1.1.3

Post by graysky »

...looks like I spoke too soon. I can get into the Deluge GUI just fine, but my config doesn't seem to gave saved. All my options get reset when I exit the app. If I run it from the shell for debugging purposes, I get:

Code: Select all

$ $ deluge
[ERROR   ] 16:37:49 config:284 Error backing up old config..
[ERROR   ] 16:37:50 config:284 Error backing up old config..
[ERROR   ] 16:37:55 config:284 Error backing up old config..
[ERROR   ] 16:37:55 config:284 Error backing up old config..
jesperl
Moderator
Moderator
Posts: 89
Joined: Sun Dec 14, 2008 10:03 pm
Location: Copenhagen

Re: problem running deluge 1.1.3

Post by jesperl »

graysky wrote:...looks like I spoke too soon. I can get into the Deluge GUI just fine, but my config doesn't seem to gave saved. All my options get reset when I exit the app. If I run it from the shell for debugging purposes, I get:

Code: Select all

$ $ deluge
[ERROR   ] 16:37:49 config:284 Error backing up old config..
[ERROR   ] 16:37:50 config:284 Error backing up old config..
[ERROR   ] 16:37:55 config:284 Error backing up old config..
[ERROR   ] 16:37:55 config:284 Error backing up old config..
That's a bug in 1.1.4 which will be fixed in 1.1.5. It's already fixed in the 1.1.0_RC SVN repo version.
Alternatively, you can edit deluge/config.py and remove the return statement (last line) from this code fragment (lines 279-285)

Code: Select all

# Make a backup of the old config
        try:
            log.debug("Backing up old config file to %s~", filename)
            shutil.move(filename, filename + "~")
        except Exception, e:
            log.error("Error backing up old config..")
            return
Post Reply