[GRASS-dev] [GRASS GIS] #3875: GRASS doesn't start with non-system locale

GRASS GIS trac at osgeo.org
Fri Jul 26 01:26:50 PDT 2019


#3875: GRASS doesn't start with non-system locale
--------------------------+-------------------------
  Reporter:  annakrat     |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  critical     |  Milestone:  7.6.2
 Component:  Default      |    Version:  svn-trunk
Resolution:               |   Keywords:  init script
       CPU:  Unspecified  |   Platform:  All
--------------------------+-------------------------

Comment (by marisn):

 To reproduce the issue it is necessary to set language override to some
 language with unsupported locale.

 Thus the full output is:

 {{{
 Failed to enforce user specified language 'ru' with error: 'unsupported
 locale setting'
 A LANGUAGE environmental variable has been set.
 Part of messages will be displayed in the requested language.
 Traceback (most recent call last):
   File "bin.x86_64-pc-linux-gnu/grass77", line 2204, in <module>
     main()
   File "bin.x86_64-pc-linux-gnu/grass77", line 2082, in main
     message(_("Starting GRASS GIS..."))
 NameError: global name '_' is not defined
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3875#comment:1>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list