[GRASS-dev] [GRASS GIS] #3841: script/core.py: create_location() fails with FileNotFoundError: [Errno 2] No such file or directory: '/tmp/grass7-root-94/tmploc/PERMANENT/MYNAME'
GRASS GIS
trac at osgeo.org
Fri May 10 03:32:33 PDT 2019
#3841: script/core.py: create_location() fails with FileNotFoundError: [Errno 2]
No such file or directory: '/tmp/grass7-root-94/tmploc/PERMANENT/MYNAME'
----------------------+-------------------------------
Reporter: neteler | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.8.0
Component: Python | Version: svn-trunk
Resolution: | Keywords: python3, grass.py
CPU: x86-64 | Platform: Linux
----------------------+-------------------------------
Comment (by neteler):
Replying to [comment:2 neteler]:
> Confirmed, that PERMANENT isn't there (would be cool if core.py could
say so...).
... to have a more reasonabe error message here would be greatly
appreciated.
Back to the problem:
> After further debugging: The reason is indeed a crash of g.proj:
> ...
> GNU Debugger:
>
> {{{
> GRASS 7.7.svn (nc_basic_spm_grass7):/grassdb > gdb g.proj
> GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git
>
> (gdb) r -t epsg=25832 location=myloc
> Starting program: /usr/local/grass77/bin/g.proj -t epsg=25832
location=myloc
> ...
> Thread 1 "g.proj" received signal SIGILL, Illegal instruction.
>
> ...
> }}}
>
> ...
>
> I have no clue why g.proj crashes here.
Likely found it with support by Markus Metz:
https://github.com/mundialis/grass-
py3-pdal/commit/b7b4058a9e52a0a08dca5b819831b54583dcbacc
Take home message: do not use `-march=native` for gcc in a Dockerfile.
(docker image rebuilding is ongoing).
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3841#comment:3>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list