Page 1 of 1

problem running deluge 1.1.3

Posted: Wed Mar 11, 2009 8:11 pm
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.

Re: problem running deluge 1.1.3

Posted: Wed Mar 11, 2009 11:09 pm
by andar
You need librsvg

Re: problem running deluge 1.1.3

Posted: Thu Mar 12, 2009 12:43 am
by graysky
Could it be something else? I installed it but still won't launch.

Re: problem running deluge 1.1.3

Posted: Thu Mar 12, 2009 4:30 am
by andar
Oh, maybe it's a png library.. Shouldn't your distribution package be installing the proper deps for you?

Re: problem running deluge 1.1.3

Posted: Thu Mar 12, 2009 8:11 pm
by graysky
I was missing two packages: librsvg and shared-mime-info! Now 1.1.3 or 1.1.4 works - Thank you :)

Re: problem running deluge 1.1.3

Posted: Fri Mar 13, 2009 7:33 pm
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..

Re: problem running deluge 1.1.3

Posted: Fri Mar 13, 2009 10:26 pm
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