FYI, the fix isn't backwards compatible (not sure if it aims to be). It creates a number of test failures on Debian sid with python-gobject-2, though it might just be time to drop all the 'import glib as GLib' stuff. They also fail with the versions of python-gi in both sid and experimental.
Traceback (most recent call last):
File "/tmp/buildd/bzr-dbus-0.1~bzr53/tests/test_activity.py", line 516, in test_network_packets_trigger_handle_network_packet
gateway.run(_port=0)
File "/tmp/buildd/bzr-dbus-0.1~bzr53/activity.py", line 313, in run
self.start(_port)
File "/tmp/buildd/bzr-dbus-0.1~bzr53/activity.py", line 332, in start
GLib.io_add_watch(self.sock, GLib.PRIORITY_HIGH, GLib.IO_IN, self.handle_network_packet)
TypeError: third argument not callable
Traceback (most recent call last):
File "/tmp/buildd/bzr-dbus-0.1~bzr53/tests/test_activity.py", line 493, in test_run_binds
gateway.run(_port=0)
File "/tmp/buildd/bzr-dbus-0.1~bzr53/activity.py", line 313, in run
self.start(_port)
File "/tmp/buildd/bzr-dbus-0.1~bzr53/activity.py", line 332, in start
GLib.io_add_watch(self.sock, GLib.PRIORITY_HIGH, GLib.IO_IN, self.handle_network_packet)
TypeError: third argument not callable
Traceback (most recent call last):
File "/tmp/buildd/bzr-dbus-0.1~bzr53/tests/test_activity.py", line 543, in test_run_listens_for_revisions
gateway.run(_port=0)
File "/tmp/buildd/bzr-dbus-0.1~bzr53/activity.py", line 313, in run
self.start(_port)
File "/tmp/buildd/bzr-dbus-0.1~bzr53/activity.py", line 332, in start
GLib.io_add_watch(self.sock, GLib.PRIORITY_HIGH, GLib.IO_IN, self.handle_network_packet)
TypeError: third argument not callable
----------------------------------------------------------------------
Ran 37 tests in 1.092s
FYI, the fix isn't backwards compatible (not sure if it aims to be). It creates a number of test failures on Debian sid with python-gobject-2, though it might just be time to drop all the 'import glib as GLib' stuff. They also fail with the versions of python-gi in both sid and experimental.
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= plugins. dbus.tests. test_activity. TestLanGateway. test_network_ packets_ trigger_ handle_ network_ packet ------- ------- ------- ------- ------- ------- ------- ------- -------
ERROR: bzrlib.
-------
_StringException: Empty attachments:
log
Traceback (most recent call last): bzr-dbus- 0.1~bzr53/ tests/test_ activity. py", line 516, in test_network_ packets_ trigger_ handle_ network_ packet run(_port= 0) bzr-dbus- 0.1~bzr53/ activity. py", line 313, in run start(_ port) bzr-dbus- 0.1~bzr53/ activity. py", line 332, in start io_add_ watch(self. sock, GLib.PRIORITY_HIGH, GLib.IO_IN, self.handle_ network_ packet)
File "/tmp/buildd/
gateway.
File "/tmp/buildd/
self.
File "/tmp/buildd/
GLib.
TypeError: third argument not callable
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= plugins. dbus.tests. test_activity. TestLanGateway. test_run_ binds ------- ------- ------- ------- ------- ------- ------- ------- -------
ERROR: bzrlib.
-------
_StringException: Empty attachments:
log
Traceback (most recent call last): bzr-dbus- 0.1~bzr53/ tests/test_ activity. py", line 493, in test_run_binds run(_port= 0) bzr-dbus- 0.1~bzr53/ activity. py", line 313, in run start(_ port) bzr-dbus- 0.1~bzr53/ activity. py", line 332, in start io_add_ watch(self. sock, GLib.PRIORITY_HIGH, GLib.IO_IN, self.handle_ network_ packet)
File "/tmp/buildd/
gateway.
File "/tmp/buildd/
self.
File "/tmp/buildd/
GLib.
TypeError: third argument not callable
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= plugins. dbus.tests. test_activity. TestLanGateway. test_run_ listens_ for_revisions ------- ------- ------- ------- ------- ------- ------- ------- -------
ERROR: bzrlib.
-------
_StringException: Empty attachments:
log
Traceback (most recent call last): bzr-dbus- 0.1~bzr53/ tests/test_ activity. py", line 543, in test_run_ listens_ for_revisions run(_port= 0) bzr-dbus- 0.1~bzr53/ activity. py", line 313, in run start(_ port) bzr-dbus- 0.1~bzr53/ activity. py", line 332, in start io_add_ watch(self. sock, GLib.PRIORITY_HIGH, GLib.IO_IN, self.handle_ network_ packet)
File "/tmp/buildd/
gateway.
File "/tmp/buildd/
self.
File "/tmp/buildd/
GLib.
TypeError: third argument not callable
------- ------- ------- ------- ------- ------- ------- ------- ------- -------
Ran 37 tests in 1.092s
FAILED (errors=3)