You are not logged in.

#1 2012-07-20 12:04:10

FND
Member
Registered: 2012-07-20
Posts: 13

Deluge crashes with AttributeError on Gtk2Reactor

Hello,

Since this morning, Deluge crashes with the following exception:

$ deluge
** (deluge:8913): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'
** (deluge:8913): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'
** (deluge:8913): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/twisted/internet/base.py", line 413, in fireEvent
    DeferredList(beforeResults).addCallback(self._continueFiring)
  File "/usr/lib/python2.7/site-packages/twisted/internet/defer.py", line 301, in addCallback
    callbackKeywords=kw)
  File "/usr/lib/python2.7/site-packages/twisted/internet/defer.py", line 290, in addCallbacks
    self._runCallbacks()
  File "/usr/lib/python2.7/site-packages/twisted/internet/defer.py", line 551, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
--- <exception caught here> ---
  File "/usr/lib/python2.7/site-packages/twisted/internet/base.py", line 426, in _continueFiring
    callable(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/gtkui.py", line 336, in _on_reactor_start
    self.__start_non_classic()
  File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/gtkui.py", line 376, in __start_non_classic
    reactor.simulate()
exceptions.AttributeError: 'Gtk2Reactor' object has no attribute 'simulate'

I have tried this with libtorrent-rasterbar versions 0.15.10-1 and 0.16.1-1 (due to earlier issues), but that doesn't make any difference.

Google suggests that it might be related to video drivers - if I recall correctly, there was a change to xf86-video-intel recently, but I'm not sure about the details or how to revert that.

Any suggestions would be appreciated!


Update: Wrapping the offending simulate call in a try ... except works around the issue, though now Deluge displays a connection manager on startup, which it never used to before.

Last edited by FND (2012-07-21 07:40:55)

Offline

Board footer

Powered by FluxBB