Your message dated Mon, 16 Jan 2017 03:21:58 +0000 with message-id <[email protected]> and subject line Bug#850733: fixed in reportbug 7.1.3 has caused the Debian Bug report #850733, regarding Crashes with "TypeError: GObject.__init__() takes exactly 0 arguments (1 given)" to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 850733: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=850733 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: reportbug Version: 7.1.2 Tags: patch Severity: important When I try to use the GTK3 backend to report a bug, I get the following stack trace: > Traceback (most recent call last): > File "/usr/bin/reportbug", line 2233, in <module> > main() > File "/usr/bin/reportbug", line 1107, in main > return iface.user_interface() > File "/usr/bin/reportbug", line 2149, in user_interface > package, severity, mode, charset=charset, tags=tags) > File "/usr/bin/reportbug", line 182, in handle_editing > editor, charset) > File "/usr/lib/python3/dist-packages/reportbug/ui/gtk2_ui.py", line 1561, > in func > op = klass(parent) > File "/usr/lib/python3/dist-packages/reportbug/ui/gtk2_ui.py", line 539, in > __init__ > self.widget = self.create_widget() > File "/usr/lib/python3/dist-packages/reportbug/ui/gtk2_ui.py", line 1173, > in create_widget > expander = Gtk.Expander("Other system information") > TypeError: GObject.__init__() takes exactly 0 arguments (1 given) This is because, while a lot of the constructors have been overridden by PyGObject to handle the deprecated form, Expander has not been overridden, so the explicit form has to be used. Patch attached. Unfortunately, after applying it, it now crashes with: > (reportbug:15278): Gtk-CRITICAL **: gtk_text_attributes_ref: assertion > 'values != NULL' failed > > (reportbug:15278): Gtk-CRITICAL **: gtk_text_attributes_ref: assertion > 'values != NULL' failed > > (reportbug:15278): Pango-CRITICAL **: pango_layout_new: assertion > 'context != NULL' failed > [1] 15278 segmentation fault reportbug src:pymongo Putting in prints doesn't seem to help; the exact location is non-deterministic from what I can tell. I would guess there are some UI interactions happening not on the main UI thread. Regards, James>From afb99028e993c87bea2b122f9b76e78acd537cfa Mon Sep 17 00:00:00 2001 From: James Clarke <[email protected]> Date: Mon, 9 Jan 2017 18:48:43 +0000 Subject: [PATCH] gtk2_ui: Avoid deprecated Gtk.Expander(str) constructor not exposed by gi --- reportbug/ui/gtk2_ui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reportbug/ui/gtk2_ui.py b/reportbug/ui/gtk2_ui.py index 2829cf0..e9099c2 100644 --- a/reportbug/ui/gtk2_ui.py +++ b/reportbug/ui/gtk2_ui.py @@ -191,7 +191,7 @@ class ExceptionDialog(CustomDialog): def setup_dialog(self, vbox, tb): # The traceback - expander = Gtk.Expander("More details") + expander = Gtk.Expander.new_with_mnemonic("More details") vbox.pack_start(expander, True, True, 0) view = Gtk.TextView() @@ -1170,7 +1170,7 @@ class EditorPage(Page): scrolled = create_scrollable(self.view) vbox.pack_start(scrolled, True, True, 0) - expander = Gtk.Expander("Other system information") + expander = Gtk.Expander.new_with_mnemonic("Other system information") view = Gtk.TextView() view.set_editable(False) self.others_buffer = view.get_buffer() -- 2.11.0
--- End Message ---
--- Begin Message ---Source: reportbug Source-Version: 7.1.3 We believe that the bug you reported is fixed in the latest version of reportbug, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Sandro Tosi <[email protected]> (supplier of updated reportbug package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Sun, 15 Jan 2017 20:30:27 -0500 Source: reportbug Binary: reportbug python3-reportbug Architecture: source all Version: 7.1.3 Distribution: unstable Urgency: medium Maintainer: Reportbug Maintainers <[email protected]> Changed-By: Sandro Tosi <[email protected]> Description: python3-reportbug - Python modules for interacting with bug tracking systems reportbug - reports bugs in the Debian distribution Closes: 850733 851055 851322 851355 851361 851415 Changes: reportbug (7.1.3) unstable; urgency=medium . * debian/control - bump Standards-Version to 3.9.8 (no changes needed) * share/script - modify the bug script to cope with non-ascii characters; patch by Nis Martensen; Closes: #851322 * man/reportbug.1 - fix order of email environment variables; patch by Nis Martensen; Closes: #851355 * bin/reportbug - output user from address in human-readable format; patch by Nis Martensen; Closes: 851361 * reportbug/ui/urwid_ui.py - unbreak 'Read bug' functionality in urwid UI; patch by Ryan Kavanagh; Closes: #851055 * debian/menu - removed, now obsolete in favor of XDG desktop files; patch by Boyuan Yang; Closes: #851415 * debian/desktop - improve to the file and no longer hardcode the debian-swirl file location; patch by Boyuan Yang; Closes; #836253 * reportbug/ui/gtk2_ui.py - fixes and improvements to GTK2 interface from James Clarke and Simon McVittie, thanks a lot! Closes: #850733 Checksums-Sha1: ec91a48d243b646c6e454b965eb707d7b73cd3c7 1856 reportbug_7.1.3.dsc 5bee8ca6aa12bc95a56a81a6e81aa82450a9b5f8 347300 reportbug_7.1.3.tar.bz2 2b0bfa6a9dfe6344c784f82448edab91d3215ca3 127514 python3-reportbug_7.1.3_all.deb 073a23e2c10fc2b994b32c711db2039b54f7940f 126564 reportbug_7.1.3_all.deb 5f3a652d63f777ec4a5dcf0ac86993baa47277e5 6075 reportbug_7.1.3_amd64.buildinfo Checksums-Sha256: 68cdd3b9e79eb1bd417bac6f9aefbea7aa106bcc57302bbcfb8c51e4c0518b07 1856 reportbug_7.1.3.dsc 74900bc426037b28bff22a8cd3eb4a5b71cbb815a047521e6c83e4734d89df72 347300 reportbug_7.1.3.tar.bz2 5d854fbe2721767e784c7930018ed8742e903fd85cb25761374986b6012c3c77 127514 python3-reportbug_7.1.3_all.deb de9da9610eaaf13ed750a46571ba54cf926c5e3d251975a70db022737ad575cc 126564 reportbug_7.1.3_all.deb c45c34c95fd76e29a1ba2f0b90a040b5d039d8af39e2b610e7cec9fb063a0812 6075 reportbug_7.1.3_amd64.buildinfo Files: dfb7b2abd36f1f07638694f60d708850 1856 utils standard reportbug_7.1.3.dsc 00207cac1324e3dd6a0e6f27affb0b75 347300 utils standard reportbug_7.1.3.tar.bz2 b00ab3576124245f603a9e983424d7bc 127514 python standard python3-reportbug_7.1.3_all.deb 07bcc3d88a484b6e84c85aa7b5060b94 126564 utils standard reportbug_7.1.3_all.deb d6e472f726b0e946ce43af8cd6d817b7 6075 utils standard reportbug_7.1.3_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEufrTGSrz5KUwnZ05h588mTgBqU8FAlh8I6IACgkQh588mTgB qU86ABAAwWSs93WuJ+RWBDkowNhh4ITZfdiRZv2TKFM71Gvx6CYG9KqKuu6D+aV+ +ylStlok2jc0NFPWT29/nLSZMkLoI8++ndCeainx7x15hItKU2kyYlYHcGLN1uYe 9ePDLiJcGa4uawq8nQYtIPCbAux6sMSebAXxJPlvIquNgPV6xZeQtxvd5VI1tJq1 55FVmtQDog3F70vK6CXgGiH9b+66oGjEDGy15hAU5HTpCJn37s/XGkv/0PSuU05r qEt/fFjAwH45O1+t6t2sJOOKPhQGdmwwKLad0PyBY3a/uYrqCkKol4BUNsqUA+ZB nzx8qvg20H4mo3jyj6jiyMAjRd5dZqe10NmGN5pQ166OukBFUDI+S4AV3cP4gn+k BeoQV8997hdbC6YyHgQogWx6jZ/qLAyr1Tk03C2cQXI0AUOX05Pn/fIf8myMzelv foUX7MUSDxV+QfNDykcUp00VWRysxnjWWKMxdwc3tiq9MFlhpt9Giuxieam4jZ3Z CzzB6rsfUB6gSlNVBJVilbfddt4U5HEzM29DMaYF1TQFT6WiQgbJMTD5l0s6vMy9 h2Tgm2uk3D7l11XWJrD/sex2oKj8RAIShbmfP1wr2NPBEtAvv15SmAMToX012TJG K3Kq6HkIu5eaVv+OSe1GNjrg9iAXYtDIAAmlEkuV0SMjJwSJKi8= =7+Nq -----END PGP SIGNATURE-----
--- End Message ---

