Re: [GRASS GIS] #3487: vector digitizer unstable

"GRASS GIS" <[email protected]>
Newsgroups gmane.comp.gis.grass.devel
Message-ID <[email protected]>
#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>

_______________________________________________
grass-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.