[MacPorts] #68150: GRASS does not start if $HOME is not writable

MacPorts noreply at macports.org
Mon Sep 11 14:49:29 UTC 2023


#68150: GRASS does not start if $HOME is not writable
--------------------+--------------------
 Reporter:  dlejay  |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  grass
--------------------+--------------------
 If {{{$HOME}}} has permissions {{{555}}}, then typing {{{grass}}} gives

 {{{
 Traceback (most recent call last):
   File "/opt/local/bin/grass", line 474, in get_grass_config_dir
     os.mkdir(directory)
 PermissionError: [Errno 13] Permission denied: '/Users/damien/.grass8'

 During handling of the above exception, another exception occurred:

 Traceback (most recent call last):
   File "/opt/local/bin/grass", line 2770, in <module>
     main()
   File "/opt/local/bin/grass", line 2453, in main
     grass_config_dir = get_grass_config_dir()
                        ^^^^^^^^^^^^^^^^^^^^^^
   File "/opt/local/bin/grass", line 479, in get_grass_config_dir
     _("Failed to create configuration directory '%s' with error: %s")
     ^
 NameError: name '_' is not defined
 }}}

 Is this related to Macports or should I write an issue with GRASS
 directly?

-- 
Ticket URL: <https://trac.macports.org/ticket/68150>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list