Opened 10 years ago

Last modified 4 years ago

#2160 new defect

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

Reported by: msieczka Owned by: grass-dev@…
Priority: minor Milestone: 7.8.3
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 9 years ago.
wxPython3 compatibility patches from Debian

Download all attachments as: .zip

Change History (10)

comment:1 by msieczka, 10 years ago

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

comment:2 by annakrat, 10 years ago

Keywords: wxPython3 added
Priority: normalminor

Possible duplicate of #2027.

by neteler, 9 years ago

wxPython3 compatibility patches from Debian

comment:3 by neteler, 9 years ago

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.

in reply to:  3 comment:4 by neteler, 9 years ago

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 by neteler, 8 years ago

Milestone: 6.4.46.4.6

comment:6 by neteler, 4 years ago

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 by neteler, 4 years ago

Milestone: 7.8.17.8.2

Ticket retargeted after milestone closed

comment:8 by neteler, 4 years ago

Milestone: 7.8.2

Ticket retargeted after milestone closed

comment:9 by neteler, 4 years ago

Milestone: 7.8.3
Note: See TracTickets for help on using tickets.