#3328: GLib.io_add_watch error
-------------------------+-------------------------------------------------
  Reporter:  Lord-       |      Owner:
  Kamina                 |
      Type:  bug         |     Status:  new
  Priority:  minor       |  Milestone:  not applicable
 Component:  Packaging   |    Version:  2.0.3
Resolution:              |   Keywords:  twisted gtk crash TypeError  glib2
                         |  gobject gio gir
-------------------------+-------------------------------------------------

Comment (by Cas):

 Can you test from a Python prompt that the function call will accept the
 old-style arguments?

 e.g.

 {{{
 from gi import version_info
 version_info
 from gi.repository import GLib
 GLib.io_add_watch(1,GLib.IOCondition(1),print,priority=1)
 }}}

 I get:
 {{{
 >>> version_info
 (3, 34, 0)
 >>> GLib.io_add_watch(1,GLib.IOCondition(1),print,priority=1)
 1
 }}}

 I don't think a debugger would provide any more information so perhaps if
 you are still facing this issue ask the PyGobject or Twisted devs for
 their thoughts.

 For reference there is an old Twisted ticket about this:
 https://twistedmatrix.com/trac/ticket/6369 but since pygobject shims this
 function it was never fixed in twisted.

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3328#comment:3>
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/065.78e94e0fb19fa93ec61db8e235656529%40deluge-torrent.org.

Reply via email to