[GRASS-user] Create location fails in docker

Margherita Di Leo diregola at gmail.com
Thu Sep 30 00:46:11 PDT 2021


Hi again,

I try to reformulate my question:

On Wed, Sep 29, 2021 at 9:32 PM Margherita Di Leo <diregola at gmail.com>
wrote:

>
> grass --text -c EPSG:4326 $GRASSDATA\/france -e
>
> The error message:
>
> Traceback (most recent call last):
>   File "/usr/bin/grass", line 390, in get_grass_config_dir
>     os.mkdir(directory)
> PermissionError: [Errno 13] Permission denied: '/.grass7'
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
>   File "/usr/bin/grass", line 2218, in <module>
>     main()
>   File "/usr/bin/grass", line 2001, in main
>     grass_config_dir = get_grass_config_dir()
>   File "/usr/bin/grass", line 395, in get_grass_config_dir
>     _("Failed to create configuration directory '%s' with error: %s")
> NameError: name '_' is not defined
> Traceback (most recent call last):
>   File "/usr/bin/grass", line 390, in get_grass_config_dir
>     os.mkdir(directory)
> PermissionError: [Errno 13] Permission denied: '/.grass7'
>
> What does this error message mean? Why is it trying to write in the
/.grass7 folder ? And what does the name '_' refer to?

Thanks for any pointers

-- 
Margherita Di Leo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20210930/504ca1e6/attachment-0001.html>


More information about the grass-user mailing list