[GRASS-dev] [GRASS GIS] #2160: wxPython 3: assertion 'width >= -1' failed

#2160: wxPython 3: assertion 'width >= -1' failed
----------------------+-----------------------------------------------------
Reporter: msieczka | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.4
Component: wxGUI | Version: svn-releasebranch64
Keywords: | Platform: All
      Cpu: All |
----------------------+-----------------------------------------------------
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.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2160&gt;
GRASS GIS <http://grass.osgeo.org>

#2160: wxPython 3: assertion 'width >= -1' failed
----------------------+-----------------------------------------------------
Reporter: msieczka | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.4
Component: wxGUI | Version: svn-releasebranch64
Keywords: | Platform: All
      Cpu: All |
----------------------+-----------------------------------------------------

Comment(by msieczka):

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

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2160#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#2160: wxPython 3: assertion 'width >= -1' failed
-----------------------+----------------------------------------------------
Reporter: msieczka | Owner: grass-dev@…
     Type: defect | Status: new
Priority: minor | Milestone: 6.4.4
Component: wxGUI | Version: svn-releasebranch64
Keywords: wxPython3 | Platform: All
      Cpu: All |
-----------------------+----------------------------------------------------
Changes (by annakrat):

  * keywords: => wxPython3
  * priority: normal => minor

Comment:

Possible duplicate of #2027.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2160#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#2160: wxPython 3: assertion 'width >= -1' failed
-----------------------+----------------------------------------------------
Reporter: msieczka | Owner: grass-dev@…
     Type: defect | Status: new
Priority: minor | Milestone: 6.4.4
Component: wxGUI | Version: svn-releasebranch64
Keywords: wxPython3 | Platform: All
      Cpu: All |
-----------------------+----------------------------------------------------

Comment(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.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2160#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>

#2160: wxPython 3: assertion 'width >= -1' failed
-----------------------+----------------------------------------------------
Reporter: msieczka | Owner: grass-dev@…
     Type: defect | Status: new
Priority: minor | Milestone: 6.4.4
Component: wxGUI | Version: svn-releasebranch64
Keywords: wxPython3 | Platform: All
      Cpu: All |
-----------------------+----------------------------------------------------

Comment(by neteler):

Replying to [comment:3 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.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2160#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>