[GRASS-dev] [GRASS GIS] #3922: GRASS fails to start with C or POSIX locale

#3922: GRASS fails to start with C or POSIX locale
--------------------+-------------------------
Reporter: marisn | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Python | Version: svn-trunk
Keywords: | CPU: Unspecified
Platform: Linux |
--------------------+-------------------------
The new gettext magick needs some work:
{{{
LC_ALL=C bin.x86_64-pc-linux-gnu/grass79
Default locale not found, using UTF-8
Default locale settings are missing. GRASS running with C locale.Traceback
(most recent call last):
   File "bin.x86_64-pc-linux-gnu/grass79", line 2204, in <module>
     main()
   File "bin.x86_64-pc-linux-gnu/grass79", line 2082, in main
     message(_("Starting GRASS GIS..."))
NameError: name '_' is not defined
}}}

{{{
locale -a
C
C.utf8
en_US.utf8
lv_LV.utf8
pl_PL
pl_PL.utf8
POSIX
}}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3922&gt;
GRASS GIS <https://grass.osgeo.org>

#3922: GRASS fails to start with C or POSIX locale
--------------------------+-------------------------
  Reporter: marisn | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone:
Component: Python | Version: svn-trunk
Resolution: duplicate | Keywords:
       CPU: Unspecified | Platform: Linux
--------------------------+-------------------------
Changes (by annakrat):

* status: new => closed
* resolution: => duplicate

Comment:

Duplicate of #3857

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3922#comment:1&gt;
GRASS GIS <https://grass.osgeo.org>

#3922: GRASS fails to start with C or POSIX locale
--------------------------+-------------------------
  Reporter: marisn | Owner: grass-dev@…
      Type: defect | Status: reopened
  Priority: normal | Milestone:
Component: Python | Version: svn-trunk
Resolution: | Keywords:
       CPU: Unspecified | Platform: Linux
--------------------------+-------------------------
Changes (by marisn):

* status: closed => reopened
* resolution: duplicate =>

Comment:

Replying to [comment:1 annakrat]:
> Duplicate of #3857
Try again as it has nothing to do with r.mapcalc :wink:

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3922#comment:2&gt;
GRASS GIS <https://grass.osgeo.org>

#3922: GRASS fails to start with C or POSIX locale
--------------------------+-------------------------
  Reporter: marisn | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone:
Component: Python | Version: svn-trunk
Resolution: duplicate | Keywords:
       CPU: Unspecified | Platform: Linux
--------------------------+-------------------------
Changes (by annakrat):

* status: reopened => closed
* resolution: => duplicate

Comment:

Here you go: #3875.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3922#comment:3&gt;
GRASS GIS <https://grass.osgeo.org>

#3922: GRASS fails to start with C or POSIX locale
--------------------------+-------------------------
  Reporter: marisn | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone:
Component: Python | Version: svn-trunk
Resolution: duplicate | Keywords:
       CPU: Unspecified | Platform: Linux
--------------------------+-------------------------

Comment (by marisn):

See https://github.com/OSGeo/grass/pull/156 for a fix.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3922#comment:4&gt;
GRASS GIS <https://grass.osgeo.org>

#3922: GRASS fails to start with C or POSIX locale
--------------------------+---------------------------------
  Reporter: marisn | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.8.1
Component: Python | Version: git-releasebranch78
Resolution: duplicate | Keywords:
       CPU: Unspecified | Platform: Linux
--------------------------+---------------------------------
Changes (by neteler):

* version: svn-trunk => git-releasebranch78
* milestone: => 7.8.1

Comment:

PR applied in

- master:
https://github.com/OSGeo/grass/commit/63d08250621d74bc7d43b8d87ba6d635f4763a54
- relbranch78:
https://github.com/OSGeo/grass/commit/25835a286ea70f80bb5745ffb0c0d0dd728f7927

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3922#comment:5&gt;
GRASS GIS <https://grass.osgeo.org>