[GRASS-dev] [GRASS GIS] #3487: vector digitizer unstable

GRASS GIS trac at osgeo.org
Tue Mar 24 05:06:55 PDT 2020


#3487: vector digitizer unstable
------------------------+-------------------------------
  Reporter:  cmbarton   |      Owner:  grass-dev@…
      Type:  defect     |     Status:  new
  Priority:  critical   |  Milestone:  7.8.3
 Component:  wxGUI      |    Version:  7.2.2
Resolution:             |   Keywords:  digitizer, ctypes
       CPU:  OSX/Intel  |   Platform:  MacOSX
------------------------+-------------------------------

Comment (by nila):

 This was a very tricky issue, but with a really simple solution. The
 ctypesgen generated python files are rendered incomplete, in this case  in
 particular `include/vect/dig_structs.h` and the python mapping of
 Map_info.

 E.g. the following parts of `etc/python/grass/lib/vector.py` were missing:
 {{{
 struct_Map_info.__slots__ = [
 ...
 struct_Map_info._fields_ = [
 ..
 }}}

 This can be fixed with the addition of the compiler flag `-D_Nullable=`.

 A fix for this issue has been proposed with
 [https://github.com/OSGeo/grass/pull/456 PR456].

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3487#comment:25>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list