#1776: Python error by startup
------------------------+---------------------------------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 6.4.3
Component: Default | Version: svn-trunk
Keywords: | Platform: Linux
Cpu: x86-64 |
------------------------+---------------------------------------------------
Hi, I just compiled / build GRASS 7.0 from source and got the following
error message when starting up GRASS:
Popup 'Python error':
---------------------
Cannot set locale to ".
Messages on command line:
--------------------------
Failed to set LC_ALL to None.UTF-8
(process:14771): Gdk-WARNING **: locale not supported by C library
(process:14771): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
These messages appear twice; directly at start up and then again when the
Layer manager and Display open.
My system information:
-----------
GRASS version: 7.0.svn
GRASS SVN Revision: 53615
GIS Library Revision: 52468 (2012-07-27)
GDAL/OGR: 1.9.2
PROJ4: Rel. 4.7.1, 23 September 2009
Python: 2.7.3
wxPython: 2.8.12.1
Platform: Linux-3.5.0-17-generic-x86_64-with-Ubuntu-12.10-quantal
#1776: Python error by startup
------------------------+---------------------------------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 6.4.3
Component: Default | Version: svn-trunk
Keywords: | Platform: Linux
Cpu: x86-64 |
------------------------+---------------------------------------------------
Comment(by pvanbosgeo):
This problem started with the latest revision. However, I installed this
latest revision after upgrading to Ubuntu 12.10, so perhaps that has
broken something concerning the locale?
I see the Milestone is set to 6.4.3. Just to make sure, these problems are
with GRASS 7.0, not with GRASS 6.4
#1776: Python error by startup
------------------------+---------------------------------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 6.4.3
Component: Default | Version: svn-trunk
Keywords: | Platform: Linux
Cpu: x86-64 |
------------------------+---------------------------------------------------
Comment(by pvanbosgeo):
When starting R from within GRASS, I am getting the following lines, which
do not show when started R normally (not from within GRASS) from the
command line:
During startup - Warning messages:
1: Setting LC_CTYPE failed, using "C"
2: Setting LC_COLLATE failed, using "C"
3: Setting LC_TIME failed, using "C"
4: Setting LC_MESSAGES failed, using "C"
5: Setting LC_PAPER failed, using "C"
6: Setting LC_PAPER failed, using "C"
7: Setting LC_MEASUREMENT failed, using "C"
I am guessing this has the same underlying problem?
#1776: Python error by startup
-------------------------------+--------------------------------------------
Reporter: pvanbosgeo | Owner: martinl
Type: defect | Status: assigned
Priority: normal | Milestone: 6.4.3
Component: Startup | Version: svn-trunk
Keywords: language settings | Platform: Linux
Cpu: x86-64 |
-------------------------------+--------------------------------------------
Comment(by pvanbosgeo):
just tried r53623 and only one error message on the command line (Failed
to set LC_ALL to None.UTF-8 (unsupported locale setting)). No pop-up
window with error message anymore and no error messages when starting R
from within GRASS.
#1776: Python error by startup
----------------------------------------------+-----------------------------
Reporter: pvanbosgeo | Owner: martinl
Type: defect | Status: assigned
Priority: normal | Milestone: 7.0.0
Component: Startup | Version: svn-trunk
Keywords: language settings, locales, i18n | Platform: Linux
Cpu: x86-64 |
----------------------------------------------+-----------------------------
Comment(by marisn):
Paulo, could you, please, try GRASS 7 after r59176 ? I changed a bit
language overriding code in startup script to avoid problems like you had
and still be able to keep language override.
Should I mark this ticket as fixed, or will you do that?
Paulo
On Mon 03 Mar 2014 10:05:53 PM CET, GRASS GIS wrote:
#1776: Python error by startup
----------------------------------------------+-----------------------------
Reporter: pvanbosgeo | Owner: martinl
Type: defect | Status: assigned
Priority: normal | Milestone: 7.0.0
Component: Startup | Version: svn-trunk
Keywords: language settings, locales, i18n | Platform: Linux
Cpu: x86-64 |
----------------------------------------------+-----------------------------
Comment(by marisn):
Paulo, could you, please, try GRASS 7 after r59176 ? I changed a bit
language overriding code in startup script to avoid problems like you had
and still be able to keep language override.