[GRASS-dev] [GRASS GIS] #3861: winGRASS master (git) - g.proj not found at startup
GRASS GIS
trac at osgeo.org
Fri Jun 21 02:34:53 PDT 2019
#3861: winGRASS master (git) - g.proj not found at startup
------------------------------------+-------------------------
Reporter: hellik | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.8.0
Component: Startup | Version: svn-trunk
Keywords: python3, py3, wingrass | CPU: x86-64
Platform: MSWindows |
------------------------------------+-------------------------
{{{
C:\>g.version -g
version=7.7.dev
date=2019
revision=47e02fc12
build_date=2019-06-20
build_platform=x86_64-w64-mingw32
build_off_t_size=8
}}}
{{{
C:\>g.gisenv set="DEBUG=3"
C:\>g.gisenv set="WX_DEBUG=3"
}}}
while starting the GUI, an error message, that g.proj isn't found, pops up
{{{
C:\>g.gui wxpython
D1/3: G_set_program_name(): g.gui
D2/3: G_file_name(): path = D:\grassdata\nc_spm_08_grass7\user1
D1/3: GUI: text
Starte <wxpython> GUI im Hintergrund. Bitte warten Sie ...
D3/3: win_spawn: args = C:\WINDOWS\system32\cmd.exe /c
"C:\OSGEO4~1\bin\python3.exe
C:\OSGEO4~1\apps\grass\grass77/gui/wxpython/wxgui.py"
D1/3: G_set_program_name(): g.gisenv
D3/3: G_option_to_separator(): key = separator -> sep = '
'
GUI D1/3: Number of core GRASS commands: 544
GUI D3/3: AddOn commands: g.cloud
GUI D3/3: AddOn commands: i.sentinel.download
GUI D3/3: AddOn commands: i.sentinel.import
GUI D3/3: AddOn commands: i.sentinel.mask
GUI D3/3: AddOn commands: i.sentinel.preproc
GUI D3/3: AddOn commands: r.basin
GUI D3/3: AddOn commands: r.euro.ecosystem
GUI D3/3: AddOn commands: r.hants
GUI D3/3: AddOn commands: r.hypso
GUI D3/3: AddOn commands: r.landscape.evol
GUI D3/3: AddOn commands: r.regression.series
GUI D3/3: AddOn commands: r.seasons
GUI D3/3: AddOn commands: r.stream.basins
GUI D3/3: AddOn commands: r.stream.distance
GUI D3/3: AddOn commands: r.stream.order
GUI D3/3: AddOn commands: r.stream.snap
GUI D3/3: AddOn commands: r.stream.stats
GUI D3/3: AddOn commands: r.valley.bottom
GUI D3/3: AddOn commands: r.width.funct
GUI D3/3: AddOn commands: v.clean.ogr
GUI D3/3: AddOn commands: v.fixed.segmentpoints
GUI D3/3: AddOn commands: v.rast.bufferstats
GUI D1/3: Number of GRASS AddOn commands: 22
GUI D1/3: GetSystemEncoding(): cp1252
C:\OSGEO4~1\apps\grass\grass77/gui/wxpython/wxgui.py:101:
DeprecationWarning: Yield() is deprecated
wx.Yield()
D1/3: G_set_program_name(): g.version
D2/3: G_file_name(): path = D:\grassdata\nc_spm_08_grass7\user1
D2/3: filename = C:\OSGEO4~1\apps\grass\grass77/scripts/g.extension.py
D1/3: G_set_program_name(): g.extension
D2/3: G_file_name(): path = D:\grassdata\nc_spm_08_grass7\user1
D1/3: G_set_program_name(): g.version
D2/3: G_file_name(): path = D:\grassdata\nc_spm_08_grass7\user1
D1/3: G_set_program_name(): g.message
D2/3: G_file_name(): path = D:\grassdata\nc_spm_08_grass7\user1
D1/3: G_set_program_name(): g.list
D2/3: G_file_name(): path = D:\grassdata\nc_spm_08_grass7\user1
D3/3: G_option_to_separator(): key = separator -> sep = '
'
D2/3: G_file_name(): path =
D:\grassdata\nc_spm_08_grass7\user1\SEARCH_PATH
D2/3: G_file_name(): path =
D:\grassdata\nc_spm_08_grass7\user1\SEARCH_PATH
D2/3: file open: read (mode = r)
D2/3: G_file_name(): path = D:\grassdata\nc_spm_08_grass7\PERMANENT
D2/3: G_file_name(): path = D:\grassdata\nc_spm_08_grass7\landsat
D2/3: G_file_name(): path = D:\grassdata\nc_spm_08_grass7\user1\cell
D2/3: G_file_name(): path = D:\grassdata\nc_spm_08_grass7\PERMANENT\cell
D2/3: G_file_name(): path = D:\grassdata\nc_spm_08_grass7\landsat\cell
D1/3: G_set_program_name(): g.list
D2/3: G_file_name(): path = D:\grassdata\nc_spm_08_grass7\user1
D3/3: G_option_to_separator(): key = separator -> sep = '
'
D2/3: G_file_name(): path =
D:\grassdata\nc_spm_08_grass7\user1\SEARCH_PATH
D2/3: G_file_name(): path =
D:\grassdata\nc_spm_08_grass7\user1\SEARCH_PATH
D2/3: file open: read (mode = r)
D2/3: G_file_name(): path = D:\grassdata\nc_spm_08_grass7\PERMANENT
D2/3: G_file_name(): path = D:\grassdata\nc_spm_08_grass7\landsat
D2/3: G_file_name(): path = D:\grassdata\nc_spm_08_grass7\user1\vector
D2/3: G_file_name(): path = D:\grassdata\nc_spm_08_grass7\PERMANENT\vector
D2/3: G_file_name(): path = D:\grassdata\nc_spm_08_grass7\landsat\vector
GUI D1/3: gcmd.RunCommand(): g.mapsets --q -l sep=newline
GUI D1/3: gcmd.RunCommand(): get return code 0 (0.046869 sec)
GUI D3/3: gcmd.RunCommand(): return stdout
'PERMANENT
landsat
resamp
user1
'
GUI D1/3: gcmd.RunCommand(): g.mapsets --q -p sep=newline
GUI D1/3: gcmd.RunCommand(): get return code 0 (0.031257 sec)
GUI D3/3: gcmd.RunCommand(): return stdout
'user1
PERMANENT
landsat
'
D1/3: G_set_program_name(): g.gisenv
D3/3: G_option_to_separator(): key = separator -> sep = '
'
GUI D1/3: DataCatalog.__init__()
GUI D3/3: CreateTool(): tool=103, label=reloadTree bitmap=<wx._core.Bitmap
object at 0x000001E06073B0D8>
GUI D3/3: CreateTool(): tool=104, label=reloadMapset
bitmap=<wx._core.Bitmap object at 0x000001E06073B048>
GUI D3/3: CreateTool(): tool=105, label=lock bitmap=<wx._core.Bitmap
object at 0x000001E06073B168>
GUI D3/3: CreateTool(): tool=107, label=newdisplay bitmap=<wx._core.Bitmap
object at 0x000001E06073B798>
GUI D3/3: CreateTool(): tool=108, label=workspaceNew
bitmap=<wx._core.Bitmap object at 0x000001E06073BEE8>
GUI D3/3: CreateTool(): tool=109, label=workspaceOpen
bitmap=<wx._core.Bitmap object at 0x000001E06073BE58>
GUI D3/3: CreateTool(): tool=110, label=workspaceSave
bitmap=<wx._core.Bitmap object at 0x000001E06073BF78>
C:\>GUI D3/3: CreateTool(): tool=111, label=addMulti
bitmap=<wx._core.Bitmap object at 0x000001E0607450D8>
GUI D3/3: CreateTool(): tool=112, label=addrast bitmap=<wx._core.Bitmap
object at 0x000001E060745168>
GUI D3/3: CreateTool(): tool=113, label=rastmisc bitmap=<wx._core.Bitmap
object at 0x000001E060745288>
GUI D3/3: CreateTool(): tool=114, label=addvect bitmap=<wx._core.Bitmap
object at 0x000001E060745318>
GUI D3/3: CreateTool(): tool=115, label=vectmisc bitmap=<wx._core.Bitmap
object at 0x000001E060745438>
GUI D3/3: CreateTool(): tool=116, label=addovl bitmap=<wx._core.Bitmap
object at 0x000001E0607454C8>
GUI D3/3: CreateTool(): tool=117, label=addWS bitmap=<wx._core.Bitmap
object at 0x000001E060745558>
GUI D3/3: CreateTool(): tool=118, label=addgrp bitmap=<wx._core.Bitmap
object at 0x000001E0607455E8>
GUI D3/3: CreateTool(): tool=119, label=delcmd bitmap=<wx._core.Bitmap
object at 0x000001E060745678>
GUI D3/3: CreateTool(): tool=120, label=importMap bitmap=<wx._core.Bitmap
object at 0x000001E060745828>
GUI D3/3: CreateTool(): tool=121, label=mapCalc bitmap=<wx._core.Bitmap
object at 0x000001E060745948>
GUI D3/3: CreateTool(): tool=122, label=georect bitmap=<wx._core.Bitmap
object at 0x000001E0607459D8>
GUI D3/3: CreateTool(): tool=123, label=modeler bitmap=<wx._core.Bitmap
object at 0x000001E060745A68>
GUI D3/3: CreateTool(): tool=124, label=mapOutput bitmap=<wx._core.Bitmap
object at 0x000001E060745AF8>
GUI D3/3: CreateTool(): tool=125, label=script-load
bitmap=<wx._core.Bitmap object at 0x000001E060745B88>
GUI D3/3: CreateTool(): tool=126, label=python bitmap=<wx._core.Bitmap
object at 0x000001E060745C18>
GUI D3/3: CreateTool(): tool=127, label=settings bitmap=<wx._core.Bitmap
object at 0x000001E060745D38>
GUI D3/3: CreateTool(): tool=128, label=help bitmap=<wx._core.Bitmap
object at 0x000001E060745DC8>
GUI D3/3: CreateTool(): tool=129, label=vdigit bitmap=<wx._core.Bitmap
object at 0x000001E060745EE8>
GUI D3/3: CreateTool(): tool=130, label=attribute bitmap=<wx._core.Bitmap
object at 0x000001E060745F78>
GUI D3/3: CreateTool(): tool=131, label=nvizCmd bitmap=<wx._core.Bitmap
object at 0x000001E0607480D8>
GUI D3/3: CreateTool(): tool=132, label=settings bitmap=<wx._core.Bitmap
object at 0x000001E060748168>
GUI D3/3: CreateTool(): tool=133, label=help bitmap=<wx._core.Bitmap
object at 0x000001E0607481F8>
GUI D1/3: GMFrame.NewDisplay(): idx=0
GUI D1/3: Map.__init__(): gisrc=None
D1/3: G_set_program_name(): g.gisenv
D3/3: G_option_to_separator(): key = separator -> sep = '
'
GRASS Modul 'g.proj' nicht gefunden. Kann Kartenfenster nicht starten.
D1/3: G_set_program_name(): g.gisenv
D3/3: G_option_to_separator(): key = separator -> sep = '
'
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:\>
}}}
but g.proj is there
{{{
C:\>g.proj -p
D1/3: G_set_program_name(): g.proj
D2/3: G_file_name(): path =
D:\grassdata\nc_spm_08_grass7\PERMANENT\DEFAULT_WIND
D2/3: G_file_name(): path =
D:\grassdata\nc_spm_08_grass7\PERMANENT\DEFAULT_WIND
D2/3: file open: read (mode = r)
D2/3: G__read_Cell_head
D2/3: G__read_Cell_head_array
D3/3: region item: proj: 99
D3/3: region item: zone: 0
D3/3: region item: north: 320000
D3/3: region item: south: 10000
D3/3: region item: east: 935000
D3/3: region item: west: 120000
D3/3: region item: cols: 1630
D3/3: region item: rows: 620
D3/3: region item: e-w resol: 500
D3/3: region item: n-s resol: 500
D3/3: region item: top: 500
D3/3: region item: bottom: -500
D3/3: region item: cols3: 815
D3/3: region item: rows3: 310
D3/3: region item: depths: 10
D3/3: region item: e-w resol3: 1000
D3/3: region item: n-s resol3: 1000
D3/3: region item: t-b resol: 100
D2/3: G_file_name(): path =
D:\grassdata\nc_spm_08_grass7\PERMANENT\PROJ_INFO
D2/3: G_file_name(): path =
D:\grassdata\nc_spm_08_grass7\PERMANENT\PROJ_EPSG
D2/3: G_file_name(): path =
D:\grassdata\nc_spm_08_grass7\PERMANENT\PROJ_UNITS
D2/3: G_file_name(): path =
D:\grassdata\nc_spm_08_grass7\PERMANENT\PROJ_EPSG
D3/3: GPJ__get_datum_params: datumname: <nad83>
D3/3: set_datumtrans(): GPJ__get_datum_params() status=1
D3/3: set_datumtrans(): datum transform terms found with 6 options
D3/3: set_datumtrans(): looking up available datum transforms for <nad83>
-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
}}}
in summary, wxGUI fails to start in winGRASS master.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3861>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list