[Reportbug-maint] Bug#850733: Bug#850733: Crashes with "TypeError: GObject.__init__() takes exactly 0 arguments (1 given)"

James Clarke jrtc27 at debian.org
Sat Jan 14 23:24:25 UTC 2017


On Sat, Jan 14, 2017 at 09:38:53PM +0000, Simon McVittie wrote:
> On Sat, 14 Jan 2017 at 19:50:17 +0000, Simon McVittie wrote:
> > > On Mon, Jan 9, 2017 at 2:21 PM, James Clarke <jrtc27 at debian.org> wrote:
> > > > I would guess there are some UI
> > > > interactions happening not on the main UI thread.
> > 
> > I found a couple of places where this was done wrong. I'll send a
> > patch series soon.
> 
> Try these?
> 
> They seem to work here, but I didn't get this crash myself (in GNOME
> on Wayland with Gtk's standard Adwaita theme, if it matters) so I can't
> say whether they are a complete fix.

I'm not sure why it's working for me and not you. That fixes the
segfault, but I still get:

> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/reportbug/ui/gtk2_ui.py", line 692, in validate
>     value = self.get_value()
>   File "/usr/lib/python3/dist-packages/reportbug/ui/gtk2_ui.py", line 1355, in get_value
>     self.info_buffer.get_end_iter())
> TypeError: Gtk.TextBuffer.get_text() takes exactly 4 arguments (3 given)

After applying the attached patch on top of your series, I can get to
the editor, type, and progress to the final submission options screen. I
have yet to use it to report an actual bug, but it looks promising :)

Regards,
James
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-gtk2_ui-Gtk.TextBuffer.get_text-needs-include_hidden.patch
Type: text/x-diff
Size: 1058 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reportbug-maint/attachments/20170114/a94f5d90/attachment.patch>


More information about the Reportbug-maint mailing list