Page 1 of 1

Deluge does not start anymore

Posted: Tue Jun 25, 2013 2:49 am
by johnny_net
This is what I get:

Code: Select all

Traceback (most recent call last):
  File "/usr/bin/deluge", line 9, in <module>
    load_entry_point('deluge==1.3.6', 'gui_scripts', 'deluge')()
  File "/usr/lib/python2.7/site-packages/deluge/main.py", line 132, in start_ui
    UI(options, args, options.args)
  File "/usr/lib/python2.7/site-packages/deluge/ui/ui.py", line 149, in __init__
    from deluge.ui.gtkui.gtkui import GtkUI
  File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/__init__.py", line 1, in <module>
    from gtkui import start
  File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/gtkui.py", line 42, in <module>
    reactor = gtk2reactor.install()
  File "/usr/lib/python2.7/site-packages/twisted/internet/gtk2reactor.py", line 99, in install
    reactor = Gtk2Reactor(useGtk)
  File "/usr/lib/python2.7/site-packages/twisted/internet/gtk2reactor.py", line 71, in __init__
    import gtk as _gtk
  File "/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 40, in <module>
    from gtk import _gtk
  File "/usr/lib/python3.3/site-packages/cairo/__init__.py", line 2
SyntaxError: Non-ASCII character '\xc2' in file /usr/lib/python3.3/site-packages/cairo/__init__.py on line 3, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
I am on Arch Linux and before it broke, I switched to xfce and removed gnome and gnome-extra.

Re: Deluge does not start anymore

Posted: Tue Jun 25, 2013 3:20 am
by johnny_net
export PYTHONPATH=/usr/lib/python3.3/site-packages

in my .zshrc / .bashrc

This caused the error. Since it is needed for powerline I might just switch to its python2 version then.