[GRASS-user] WinGRASS build up (WIP)

Pedro Venâncio pedrongvenancio at gmail.com
Tue Nov 12 06:14:13 PST 2019


Hi all,

Thank you very much for this release!

I'm trying to use it, installed from OSGeo4W 64bits, but I get this error:

Starting GRASS GIS...
ATENÇÃO: Concurrent mapset locking is not supported on Windows
Cleaning up temporary files...

          __________  ___   __________    _______________
         / ____/ __ \/   | / ___/ ___/   / ____/  _/ ___/
        / / __/ /_/ / /| | \__ \\_  \   / / __ / / \__ \
       / /_/ / _, _/ ___ |___/ /__/ /  / /_/ // / ___/ /
       \____/_/ |_/_/  |_/____/____/   \____/___//____/

Welcome to GRASS GIS 7.8.1
GRASS GIS homepage:                      https://grass.osgeo.org
This version running through:            Command Prompt
(C:\WINDOWS\system32\cmd.exe)
Help is available with the command:      g.manual -i
See the licence terms with:              g.version -c
See citation options with:               g.version -x
If required, restart the GUI with:       g.gui wxpython
When ready to quit enter:                exit

Launching <wxpython> GUI in the background, please wait...
Microsoft Windows [Version 10.0.17763.805]
(c) 2018 Microsoft Corporation. Todos os direitos reservados.

C:\>Traceback (most recent call last):
  File "C:\OSGEO4~1\apps\grass\grass78\gui\wxpython\wxgui.py", line 107, in
OnInit
    workspace=self.workspaceFile)
  File "C:\OSGEO4~1\apps\grass\grass78\gui\wxpython\lmgr\frame.py", line
143, in __init__
    self.notebook = self._createNoteBook()
  File "C:\OSGEO4~1\apps\grass\grass78\gui\wxpython\lmgr\frame.py", line
338, in _createNoteBook
    gcstyle=GC_PROMPT)
  File "C:\OSGEO4~1\apps\grass\grass78\gui\wxpython\gui_core\goutput.py",
line 118, in __init__
    self.cmdPrompt = GPromptSTC(parent=self, menuModel=self._menuModel)
  File "C:\OSGEO4~1\apps\grass\grass78\gui\wxpython\gui_core\prompt.py",
line 138, in __init__
    GPrompt.__init__(self, parent=parent, menuModel=menuModel)
  File "C:\OSGEO4~1\apps\grass\grass78\gui\wxpython\gui_core\prompt.py",
line 56, in __init__
    self.mapList = self._getListOfMaps()
  File "C:\OSGEO4~1\apps\grass\grass78\gui\wxpython\gui_core\prompt.py",
line 100, in _getListOfMaps
    result['raster'] = grass.list_strings('raster')
  File "C:\OSGEO4~1\apps\grass\grass78\etc\python\grass\script\core.py",
line 1288, in list_strings
    mapset=mapset).splitlines():
  File "C:\OSGEO4~1\apps\grass\grass78\etc\python\grass\script\core.py",
line 503, in read_command
    return handle_errors(returncode, stdout, args, kwargs)
  File "C:\OSGEO4~1\apps\grass\grass78\etc\python\grass\script\core.py",
line 343, in handle_errors
    returncode=returncode)
grass.exceptions.CalledModuleError: Module run None g.list --q -m
type=raster ended with error
Process ended with non-zero return code 3221225785. See errors in the
(error) output.
OnInit returned false, exiting...
Error in atexit._run_exitfuncs:
wx._core.wxAssertionError: C++ assertion "GetEventHandler() == this" failed
at ..\..\src\common\wincmn.cpp(478) in wxWindowBase::~wxWindowBase(): any
pushed event handlers must have been removed

Also trying to use GRASS from QGIS (3.10 and master) Processing, I always
get an error, and no output.

QGIS version: 3.10.0-A Coruña
QGIS code revision: c48ee4df4b
Qt version: 5.11.2
GDAL version: 3.1.0dev
GEOS version: 3.8.0-CAPI-1.13.1
PROJ version: Rel. 7.0.0, March 1st, 2020
Processing algorithm…
Algorithm 'v.net.salesman' starting…
Input parameters:
{ '-g' : False, 'GRASS_MIN_AREA_PARAMETER' : 0.0001,
'GRASS_OUTPUT_TYPE_PARAMETER' : 0, 'GRASS_REGION_PARAMETER' : None,
'GRASS_SNAP_TOLERANCE_PARAMETER' : -1, 'GRASS_VECTOR_DSCO' : '',
'GRASS_VECTOR_EXPORT_NOCAT' : False, 'GRASS_VECTOR_LCO' : '',
'arc_backward_column' : 'tmpo_unico', 'arc_column' : 'tmpo_duplo',
'arc_type' : [0,1], 'center_cats' : '1-100000', 'input' :
'D:/SIG/dados_exercicio_analise_redes/dados_exercicio/rede_viaria_distrito_porto_break.shp',
'output' : 'TEMPORARY_OUTPUT', 'points' :
'D:/SIG/dados_exercicio_analise_redes/dados_exercicio/campanha_museus_distrito_porto.shp',
'sequence' : 'TEMPORARY_OUTPUT', 'threshold' : 250 }

g.proj -c proj4="+proj=tmerc +lat_0=39.6682583333333
+lon_0=-8.13310833333333 +k=1 +x_0=0 +y_0=0 +ellps=GRS80
+towgs84=0,0,0,0,0,0,0 +units=m +no_defs"
v.in.ogr min_area=0.0001 snap=-1.0
input="D:\SIG\dados_exercicio_analise_redes\dados_exercicio\rede_viaria_distrito_porto_break.shp"
output="vector_5dcab9fef40e92" --overwrite -o
v.in.ogr min_area=0.0001 snap=-1.0
input="D:\SIG\dados_exercicio_analise_redes\dados_exercicio\campanha_museus_distrito_porto.shp"
output="vector_5dcab9fef40e93" --overwrite -o
g.region n=200265.16624542486 s=149098.80678702804 e=21170.13407058691
w=-54560.42845699884
v.net -s input=vector_5dcab9fef40e92 points=vector_5dcab9fef40e93
output=net5dcab9ff00a5a4 operation=connect threshold=250.0
v.db.connect -o map=net5dcab9ff00a5a4 table=vector_5dcab9fef40e93 layer=2
v.net.salesman input=net5dcab9ff00a5a4 arc_type="line,boundary"
center_cats="1-100000" arc_column=tmpo_duplo arc_backward_column=tmpo_unico
output=outputb432a8bfe5ce42bc838e036e5c5491eb
sequence="C:/Users/PedroVenancio/AppData/Local/Temp/processing_1eae9fc4026a4f3181ee65faa9f1f761/1503cfa928774257b16b1d44f1b7a74b/sequence.csv"
--overwrite
v.out.ogr type="line" input="outputb432a8bfe5ce42bc838e036e5c5491eb"
output="C:/Users/PedroVenancio/AppData/Local/Temp/processing_1eae9fc4026a4f3181ee65faa9f1f761/ea8aeb223ec54536a686d57bfdd93109/output.gpkg"
format="GPKG" layer=1 -c --overwrite
Starting GRASS GIS...
ATENÇÃO: Concurrent mapset locking is not supported on Windows
Cleaning up temporary files...
Executing
<C:\Users\PedroVenancio\AppData\Local\Temp\processing_1eae9fc4026a4f3181ee65faa9f1f761\grassdata\grass_batch_job.cmd>
...
C:\Users\PedroVenancio\Documents>chcp 1252 1>NUL
C:\Users\PedroVenancio\Documents>g.proj -c proj4="+proj=tmerc
+lat_0=39.6682583333333 +lon_0=-8.13310833333333 +k=1 +x_0=0 +y_0=0
+ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs"
C:\Users\PedroVenancio\Documents>v.in.ogr min_area=0.0001 snap=-1.0
input="D:\SIG\dados_exercicio_analise_redes\dados_exercicio\rede_viaria_distrito_porto_break.shp"
output="vector_5dcab9fef40e92" --overwrite -o
C:\Users\PedroVenancio\Documents>v.in.ogr min_area=0.0001 snap=-1.0
input="D:\SIG\dados_exercicio_analise_redes\dados_exercicio\campanha_museus_distrito_porto.shp"
output="vector_5dcab9fef40e93" --overwrite -o
C:\Users\PedroVenancio\Documents>g.region n=200265.16624542486
s=149098.80678702804 e=21170.13407058691 w=-54560.42845699884
C:\Users\PedroVenancio\Documents>v.net -s input=vector_5dcab9fef40e92
points=vector_5dcab9fef40e93 output=net5dcab9ff00a5a4 operation=connect
threshold=250.0
C:\Users\PedroVenancio\Documents>v.db.connect -o map=net5dcab9ff00a5a4
table=vector_5dcab9fef40e93 layer=2
C:\Users\PedroVenancio\Documents>v.net.salesman input=net5dcab9ff00a5a4
arc_type="line,boundary" center_cats="1-100000" arc_column=tmpo_duplo
arc_backward_column=tmpo_unico
output=outputb432a8bfe5ce42bc838e036e5c5491eb
sequence="C:/Users/PedroVenancio/AppData/Local/Temp/processing_1eae9fc4026a4f3181ee65faa9f1f761/1503cfa928774257b16b1d44f1b7a74b/sequence.csv"
--overwrite
C:\Users\PedroVenancio\Documents>v.out.ogr type="line"
input="outputb432a8bfe5ce42bc838e036e5c5491eb"
output="C:/Users/PedroVenancio/AppData/Local/Temp/processing_1eae9fc4026a4f3181ee65faa9f1f761/ea8aeb223ec54536a686d57bfdd93109/output.gpkg"
format="GPKG" layer=1 -c --overwrite
C:\Users\PedroVenancio\Documents>exit
Execution of
<C:\Users\PedroVenancio\AppData\Local\Temp\processing_1eae9fc4026a4f3181ee65faa9f1f761\grassdata\grass_batch_job.cmd>
finished.
Cleaning up temporary files...
Execution completed in 1.74 seconds
Results:
{'output': <QgsProcessingOutputLayerDefinition {'sink':TEMPORARY_OUTPUT,
'createOptions': {'fileEncoding': 'System'}}>,
'sequence': 'TEMPORARY_OUTPUT'}

Loading resulting layers
The following layers were not correctly
generated.<ul><li>C:/Users/PedroVenancio/AppData/Local/Temp/processing_1eae9fc4026a4f3181ee65faa9f1f761/ea8aeb223ec54536a686d57bfdd93109/output.gpkg</li></ul>You
can check the 'Log Messages Panel' in QGIS main window to find more
information about the execution of the algorithm.

Anyone with same behaviour?

Thanks!

Best regards,
Pedro Venâncio


Martin Landa <landa.martin at gmail.com> escreveu no dia segunda, 11/11/2019
à(s) 13:13:

> Hi Juergen,
>
> po 11. 11. 2019 v 11:39 odesílatel Jürgen E. Fischer <jef at norbit.de>
> napsal:
> > Done - including GRASS.
>
> thanks, Ma
>
> --
> Martin Landa
> http://geo.fsv.cvut.cz/gwiki/Landa
> http://gismentors.cz/mentors/landa
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20191112/dc8b9d2c/attachment-0001.html>


More information about the grass-user mailing list