[GRASS-dev] winGRASS master - g.proj not found

Helmut Kudrnovsky hellik at web.de
Thu Jun 20 14:48:42 PDT 2019


hi,

after locally self compiling/building winGRASS master in the MSYS2/OSGeo4W
environment with following build information:

-----------------------
C:\>g.version -breg
version=7.7.dev
date=2019
revision=47e02fc12
build_date=2019-06-20
build_platform=x86_64-w64-mingw32
build_off_t_size=8

 ./configure  --host=x86_64-w64-mingw32
'--with-libs=/usr/src/grass_trunk_git/grass/mswindows/osgeo4w/lib '
--with-includes=/c/OSGeo4W64/include --libexecdir=/c/OSGeo4W64/bin
--prefix=/c/OSGeo4W64/apps/grass --bindir=/c/OSGeo4W64/bin
--includedir=/c/OSGeo4W64/include --without-x --with-cxx --enable-shared
--enable-largefile --with-fftw --with-freetype
--with-proj-share=/c/OSGeo4W64/share/proj
--with-gdal=/usr/src/grass_trunk_git/grass/mswindows/osgeo4w/gdal-config
--with-geos=/usr/src/grass_trunk_git/grass/mswindows/osgeo4w/geos-config
--with-sqlite --with-regex --with-nls
--with-freetype-includes=/c/OSGeo4W64/include/freetype2 --with-zstd
--with-odbc --with-cairo --with-postgres --with-opengl=windows --with-bzlib
--with-liblas=/usr/src/grass_trunk_git/grass/mswindows/osgeo4w/liblas-config
libgis_revision=00000
libgis_date="?"
proj4=5.2.0
gdal=2.4.1
geos=3.7.2
sqlite=3.26.0
-----------------------

I'm getting following error while starting winGRASS master in the OSGeo4W
command line:

-----------------------
C:\>grass77
Starting GRASS GIS...
WARNUNG: Sperren gleichzeitiger Zugriffe auf ein Mapset ist unter Windows
         nicht möglich.
Cleaning up temporary files...

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

Welcome to GRASS GIS 7.7.dev
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.18362.175]
(c) 2019 Microsoft Corporation. Alle Rechte vorbehalten.

C:\>C:\OSGEO4~1\apps\grass\grass77\gui\wxpython\wxgui.py:101:
DeprecationWarning: Yield() is deprecated
  wx.Yield()
GRASS Modul 'g.proj' nicht gefunden. Kann Kartenfenster nicht starten.
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

C:\>
-----------------------

it seems g.proj isn't found; but g.proj is there, see:

-----------------------
C:\>g.proj -p
-PROJ_INFO-------------------------------------------------
name       : Lambert Conformal Conic
proj       : lcc
datum      : nad83
a          : 6378137.0
es         : 0.006694380022900787
lat_1      : 36.16666666666666
lat_2      : 34.33333333333334
lat_0      : 33.75
lon_0      : -79
x_0        : 609601.22
y_0        : 0
no_defs    : defined
-PROJ_EPSG-------------------------------------------------
epsg       : 3358
-PROJ_UNITS------------------------------------------------
unit       : Meter
units      : Meters
meters     : 1
----------------------

any idea?



-----
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html


More information about the grass-dev mailing list