#3328: GLib.io_add_watch error
-------------------------+-------------------------------------------------
Reporter: Lord-Kamina | Type: bug
Status: new | Priority: minor
Milestone: needs | Component: Unknown
verified | Keywords: twisted gtk crash TypeError glib2
Version: 2.0.3 | gobject gio gir
-------------------------+-------------------------------------------------
I'm trying to make a viable mac bundle (and hopefully once that is done, a
script to reliably produce them)
So far, I'm stuck and Deluge won't run; I'm getting the following error,
{{{
Traceback (most recent call last):
File "/opt/deluge/packaging/osx/app/Deluge.app/Contents/MacOS/Deluge-
bin", line 11, in <module>
load_entry_point('deluge==2.0.3', 'gui_scripts', 'deluge-gtk')()
File
"/opt/deluge/packaging/osx/app/Deluge.app/Contents/Resources/lib/python3.6/deluge-2.0.3-py3.6.egg/deluge/ui/gtk3/__init__.py",
line 63, in start
Gtk().start()
File
"/opt/deluge/packaging/osx/app/Deluge.app/Contents/Resources/lib/python3.6/deluge-2.0.3-py3.6.egg/deluge/ui/gtk3/__init__.py",
line 43, in start
from .gtkui import GtkUI
File
"/opt/deluge/packaging/osx/app/Deluge.app/Contents/Resources/lib/python3.6/deluge-2.0.3-py3.6.egg/deluge/ui/gtk3/gtkui.py",
line 33, in <module>
reactor = gtk3reactor.install()
File "twisted/internet/gtk3reactor.pyc", line 71, in install
File "twisted/internet/gtk3reactor.pyc", line 50, in __init__
File "twisted/internet/gireactor.pyc", line 117, in __init__
File "twisted/internet/_glibbase.pyc", line 109, in __init__
File "twisted/internet/base.pyc", line 512, in __init__
File "twisted/internet/posixbase.pyc", line 286, in installWaker
File "twisted/internet/_glibbase.pyc", line 197, in addReader
File "twisted/internet/_glibbase.pyc", line 188, in _add
File "twisted/internet/_glibbase.pyc", line 162, in input_add
TypeError: GLib.io_add_watch() got multiple values for keyword argument
'priority'
}}}
Technically I guess it might actually Twisted's fault but there is one
thing that bugs me... if I run Deluge in ubuntu, I don't have that
issue... I've even tried matching the versions of twisted and other
dependencies on my environment (and subsequently bundle) to what is
included in the official canonical repos but I still get that error.
Over at twisted, _glybbase.py hasn't been touched in three years. So,
there must be _something_ deluge does different in linux and mac that
works fine on one and triggers that error on the other? Maybe it's a
quartz vs x11 issue? I don't know.
P.S. I've also tried with both Python 3.7 and 3.6.
--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3328>
Deluge <https://deluge-torrent.org/>
Deluge Project
--
You received this message because you are subscribed to the Google Groups
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/deluge-dev/050.3a59e7f24f98a7159feedf6f1364f478%40deluge-torrent.org.