[GRASS-dev] Seeking advices for image segmentation algorithms and windows compile question

Yang, Bo (yangb2) yangb2 at mail.uc.edu
Tue May 10 20:25:33 PDT 2016


Hi Helmut and Moritz,

>error: 
>libintl-8.dell missing 
>libsystre-0.dll missing
[...]

>ERROR: wxGUI requires wxPython. No module named wxversion

>It looks like the running/buildenvironment is inkompetent.

>all these dll's and wxpython should be available by the OSGeo4W environment. 

>try the OSGeo4W advanced install to install all these missing libs and wxpython

>Regarding missing dll's and wxpython, try to install e.g. OSGeo4W-winGRASS 7.0.4, then all dependencies should be installed.

I installed wxpython and OSGeo4W-winGRASS 7.0.4 via OSGeo4W, then build GRASS again (20min, no error reported). Now on my desktop there are both shortcuts of "GRASS GIS 7.1.svn" and "GRASS GIS 7.0.4".
Currently the GRASS GIS 7.0.4 can be normally started without any issue. However, when start GRASS GIS 7.1.svn. the error below showed. 
I did some research on google. Given all the errors come from python, I am thinking probably there are conflicts come from multi-python installations of my computer (I have anaconda and ArcGIS installed on my computer, both have python 2.7). If you think so too I will find another computer to clean install a new win7/10 and try to start over the compile follow that tutorial. 

Best,
Bo

Appendix I: Error screenshot:
-------------------------------
Cleaning up temporary files...
Starting GRASS GIS...
Traceback (most recent call last):
  File "C:\OSGEO4~1\apps\grass\grass-7.1.svn\gui\wxpython\gis_set.py", line 1200, in <module>
    GRASSStartUp = StartUp(0)
  File "C:\OSGEO4~1\apps\Python27\lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line 7981, in __init__
    self._BootstrapApp()
  File "C:\OSGEO4~1\apps\Python27\lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line 7555, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "C:\OSGEO4~1\apps\grass\grass-7.1.svn\gui\wxpython\gis_set.py", line 1175, in OnInit
    StartUp = GRASSStartup()
  File "C:\OSGEO4~1\apps\grass\grass-7.1.svn\gui\wxpython\gis_set.py", line 230, in __init__
    self._set_properties(grassVersion, grassRevisionStr)
  File "C:\OSGEO4~1\apps\grass\grass-7.1.svn\gui\wxpython\gis_set.py", line 282, in _set_properties
    self.OnSetDatabase(None)
  File "C:\OSGEO4~1\apps\grass\grass-7.1.svn\gui\wxpython\gis_set.py", line 929, in OnSetDatabase
    self.UpdateLocations(self.gisdbase)
  File "C:\OSGEO4~1\apps\grass\grass-7.1.svn\gui\wxpython\gis_set.py", line 796, in UpdateLocations
    self.lblocations.InsertItems(self.listOfLocations, 0)
  File "C:\OSGEO4~1\apps\grass\grass-7.1.svn\gui\wxpython\gis_set.py", line 1152, in InsertItems
    self._LoadData(choices, disabled)
  File "C:\OSGEO4~1\apps\grass\grass-7.1.svn\gui\wxpython\gis_set.py", line 1141, in _LoadData
    index = self.InsertStringItem(sys.maxsize, item)
  File "C:\OSGEO4~1\apps\Python27\lib\site-packages\wx-2.8-msw-unicode\wx\_controls.py", line 4761, in InsertStringItem
    return _controls_.ListCtrl_InsertStringItem(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "m_count == ListView_GetItemCount(GetHwnd())" failed at ..\..\src\msw\listctrl.cpp(1629) in wxListCtrl::InsertItem(): m_count should match ListView_GetItemCount
ERROR: Error in GUI startup. See messages above (if any) and if necessary, please report this error to the GRASS developers.
On systems with package manager, make sure you have the right GUI package, probably named grass-gui, installed.
To run GRASS GIS in text mode use the -text flag.
Exiting...
Press any key to continue . . .
------------------------------------------

Appendix II: file of error.log (usr/src/grass_trunk):
--------------------
GRASS GIS 7.1.svn r68375 compilation log
--------------------------------------------------
Started compilation: Tue, May 10, 2016 10:46:44 PM
--
Errors in:
No errors detected.
--
Finished compilation: Tue, May 10, 2016 10:48:16 PM
--------------------------------------------------






More information about the grass-dev mailing list