[GRASS-dev] [GRASS GIS] #2699: g.gui.iclass doesn't run after selecting training areas

#2699: g.gui.iclass doesn't run after selecting training areas
-------------------------+-------------------------------------
  Reporter: ThayseNery | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: major | Milestone: 7.2.0
Component: wxGUI | Version: 7.0.0
Resolution: | Keywords: g.gui.iclass, digitizer
       CPU: x86-64 | Platform: MSWindows 7
-------------------------+-------------------------------------

Comment (by hellik):

Replying to [comment:11 hellik]:
> Replying to [comment:10 neteler]:
> > Can anyone test the backport on Windows, please?
>
> is there an example/tutorial how to use?

tested now with

{{{
System Info
GRASS version: 7.0.5
GRASS SVN Revision: 69636
Build Date: 2016-10-02
Build Platform: x86_64-w64-mingw32
GDAL/OGR: 2.1.1
PROJ.4: 4.9.3
GEOS: 3.5.0
SQLite: 3.14.1
Python: 2.7.5
wxPython: 2.8.12.1
Platform: Windows-8-6.2.9200
}}}

most works ok, beside import of vector training areas fails with (as
reported above):

{{{
Traceback (most recent call last):
   File "C:\Program Files\GRASS GIS
7.0.5\gui\wxpython\iclass\frame.py", line 537, in
OnImportAreas

self.ImportAreas(vName)
   File "C:\Program Files\GRASS GIS
7.0.5\gui\wxpython\iclass\frame.py", line 594, in
ImportAreas

self.poMapInfo = digitClass.OpenMap(vname, tmp = True)
   File "C:\Program Files\GRASS GIS
7.0.5\gui\wxpython\vdigit\wxdigit.py", line 1651, in OpenMap

self.poMapInfo = self._display.OpenMap(str(name),
str(mapset), update, tmp)
   File "C:\Program Files\GRASS GIS
7.0.5\gui\wxpython\vdigit\wxdisplay.py", line 962, in
OpenMap

Vect_set_updated(self.poMapInfo, True) # track updated lines
at update mode
WindowsError
:
exception: access violation reading 0x0000000000000340
}}}

vector training area:

{{{
v.report map=mytraining@testiclass option=area
cat|class|color|n_cells|band1_min|band2_min|band3_min|band4_min|band5_min|band6_min|band7_min|band1_mean|band2_mean|band3_mean|band4_mean|band5_mean|band6_mean|band7_mean|band1_max|band2_max|band3_max|band4_max|band5_max|band6_max|band7_max|area
1|water|0:0:255|941|15|109|7|1|19|58|1|19.2412319183|113.167907715|9.20616340637|1.95217847824|22.2114772797|63.0531349182|5.13283729553|31|115|56|24|31|70|64|730860.494204
2|forest|0:255:0|674|13|109|41|5|19|56|26|19.4569740295|110.860534668|63.3709182739|11.9821958542|22.9020767212|62.1023750305|43.0637969971|31|115|94|27|30|73|73|500610.799864
}}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2699#comment:12&gt;
GRASS GIS <https://grass.osgeo.org>