<div dir="ltr"><br><br>On Mon, Nov 12, 2018 at 4:24 PM Nikos Alexandris <<a href="mailto:nik@nikosalexandris.net">nik@nikosalexandris.net</a>> wrote:<br>><br>> Hi, this is maybe similar to ticket #3693 [0].<br>><br>> @neteler In [0], the first example to create a Location, is performed as<br>> root. Curious, why so? Why not as a simple user?<br>><br>> I just try to update my grassyan Dockerfile [0] and it fails at the<br>> point of creating a Location, for the sake of testing. I don't know if<br>> this is relevant with what is reported in ticket #3693:<br><div><br></div><div>In your case, it seems to be an incomplete GRASS installation, see below:<br></div><div>></div>> [0] <a href="https://trac.osgeo.org/grass/ticket/3693">https://trac.osgeo.org/grass/ticket/3693</a><br>> [1] <a href="https://gitlab.com/NikosAlexandris/grassyan">https://gitlab.com/NikosAlexandris/grassyan</a><br>><br>> ```<br>> Step 47/52 : RUN grass -text -e     -c EPSG:4326     "$GRASSDB/$TEMPORARY_MAPSET" RUN  grass -text     "$GRASSDB/$TEMPORARY_MAPSET/PERMANENT"     --exec g.region -p<br>>  ---> Running in 4dab4125dec7<br>> Starting GRASS GIS...<br>> Creating new GRASS GIS location <temporary_Mapset>...<br>> Traceback (most recent call last):<br>>   File "/usr/local/bin/grass", line 2242, in <module><br>>     main()<br>>   File "/usr/local/bin/grass", line 2153, in main<br>>     geofile=params.geofile, create_new=True)<br>>   File "/usr/local/bin/grass", line 1046, in set_mapset<br>>     create_location(gisdbase, location_name, geofile)<br>>   File "/usr/local/bin/grass", line 837, in create_location<br>>     from grass.script import core as gcore  # pylint: disable=E0611<br><div>> ImportError: No module named grass.script</div><div><br></div><div>granted that "grass" is a link to "grass77", the GRASS python lib is missing, should be here: 'dist.x86_64-pc-linux-gnu/etc/python/grass/'</div><div><br></div><div>another missing 'dist.x86_64-pc-linux-gnu/etc/' file:<br></div><div><br></div>> ```<br>> IOError: [Errno 2] No such file or directory: 'dist.x86_64-pc-linux-gnu/etc/license'<br><div><br></div><div>maybe you need to check your GRASS installation for completeness</div><div><br></div><div>Markus M<br></div><div><br></div><div>> grassyan@2ced1e57a44e:~$ grass74 --version</div>> GRASS GIS 7.4.2<br>> Traceback (most recent call last):<br>>   File "/usr/bin/grass74", line 2027, in <module><br>>     main()<br>>   File "/usr/bin/grass74", line 1839, in main<br>>     params = parse_cmdline(sys.argv[1:], default_gui=default_gui)<br>>   File "/usr/bin/grass74", line 1744, in parse_cmdline<br>>     message('\n' + readfile(gpath("etc", "license")))<br>>   File "/usr/bin/grass74", line 229, in readfile<br>>     f = open(path, 'r')<br>> IOError: [Errno 2] No such file or directory: 'dist.x86_64-pc-linux-gnu/etc/license'<br>> ```<br>> and<br>> ```<br>> grass77 -c 'epsg:4326' /home/grassyan/grassdb/test<br>> Starting GRASS GIS...<br>> WARNING: GRASS GUI not found. Please check your installation.<br>> Switching to text based interface mode.<br>><br>> Hit RETURN to continue.<br>><br>><br>> Creating new GRASS GIS location <test>...<br>> Traceback (most recent call last):<br>>   File "/usr/local/bin/grass77", line 2242, in <module><br>>     main()<br>>   File "/usr/local/bin/grass77", line 2153, in main<br>>     geofile=params.geofile, create_new=True)<br>>   File "/usr/local/bin/grass77", line 1046, in set_mapset<br>>     create_location(gisdbase, location_name, geofile)<br>>   File "/usr/local/bin/grass77", line 837, in create_location<br>>     from grass.script import core as gcore  # pylint: disable=E0611<br>> ImportError: No module named grass.script<br>> ```<br>><br>> Nikos<br>> _______________________________________________<br>> grass-dev mailing list<br>> <a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>> <a href="https://lists.osgeo.org/mailman/listinfo/grass-dev">https://lists.osgeo.org/mailman/listinfo/grass-dev</a></div>