Opened 11 years ago
Last modified 5 years ago
#2160 new defect
wxPython 3: assertion 'width >= -1' failed
Reported by: | msieczka | Owned by: | |
---|---|---|---|
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)
Change History (10)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
Keywords: | wxPython3 added |
---|---|
Priority: | normal → minor |
Possible duplicate of #2027.
by , 10 years ago
Attachment: | wxpy3.0-compat_patch_Debian.diff added |
---|
wxPython3 compatibility patches from Debian
follow-up: 4 comment:3 by , 10 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.
comment:4 by , 10 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 , 9 years ago
Milestone: | 6.4.4 → 6.4.6 |
---|
comment:6 by , 5 years ago
Keywords: | GTK added; wxPython3 removed |
---|---|
Milestone: | 6.4.6 → 7.8.1 |
Version: | svn-releasebranch64 → git-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:9 by , 5 years ago
Milestone: | → 7.8.3 |
---|
64bit Arch Linux in r58684 built and running against wxPython 3.0.