Opened 6 years ago

Last modified 5 days ago

#2160 new defect

wxPython 3: assertion 'width >= -1' failed

Reported by: msieczka Owned by: grass-dev@…
Priority: minor Milestone: 7.8.2
Component: wxGUI Version: git-releasebranch78
Keywords: GTK Cc:
CPU: All Platform: All

Description

In r58684 adding a new layer (raster, vector - whatever) in the GUI throws:

(wxgui.py:18403): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'width >= -1' failed

The functionality seems not affected, but even if so, such messages should not be printed on the user terminal.

Attachments (1)

wxpy3.0-compat_patch_Debian.diff (16.8 KB) - added by neteler 5 years ago.
wxPython3 compatibility patches from Debian

Download all attachments as: .zip

Change History (8)

comment:1 Changed 6 years ago by msieczka

64bit Arch Linux in r58684 built and running against wxPython 3.0.

comment:2 Changed 6 years ago by annakrat

Keywords: wxPython3 added
Priority: normalminor

Possible duplicate of #2027.

Changed 5 years ago by neteler

wxPython3 compatibility patches from Debian

comment:3 Changed 5 years ago by neteler

Attached a set of patches extracted from

http://ftp.de.debian.org/debian/pool/main/g/grass/grass_6.4.4-1.debian.tar.xz

then applied to current relbranch6 and regenerated + attached.

Author:

Description: Fix to work with wxPython 3.0
Author: Olly Betts <olly survex.com>
Last-Update: 2014-08-16

Please review. Ideally this should go into RC1.

comment:4 in reply to:  3 Changed 5 years ago by neteler

Replying to neteler:

http://ftp.de.debian.org/debian/pool/main/g/grass/grass_6.4.4-1.debian.tar.xz

Extracted patch wxpy3.0-compat_patch_Debian.diff committed in r64997.

comment:5 Changed 4 years ago by neteler

Milestone: 6.4.46.4.6

comment:6 Changed 3 weeks ago by neteler

Keywords: GTK added; wxPython3 removed
Milestone: 6.4.67.8.1
Version: svn-releasebranch64git-releasebranch78

Still an issue, it happens when starting the GUI:

GRASS 7.8.1dev (nc_spm_08):~ > g.gui
Launching <wxpython> GUI in the background, please wait...

(wxgui.py:9116): Gtk-CRITICAL **: 08:48:15.978: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
(wxgui.py:9116): Gtk-CRITICAL **: 08:48:15.978: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

g.version -rge
version=7.8.1dev
date=2019
revision=33fdda72e
build_date=2019-10-01
build_platform=x86_64-pc-linux-gnu
build_off_t_size=8
libgis_revision=00000
libgis_date="?"
proj=5.2.0
gdal=2.3.2
geos=3.7.1
sqlite=3.26.0

comment:7 Changed 5 days ago by neteler

Milestone: 7.8.17.8.2

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.