Hi,

2008/7/8 Moritz Lennert <[EMAIL PROTECTED]>:
> Now it compiles, but when I display the elevation map from the NC data set
> and then chose the nviz tool in the map display, the entire wx gui
> crashes...
> Just found out why: it's a locale problem. LANG is set to fr_BE.UTF-8 on my
> system. When I set it to C nviz runs (great job !!), but when I leave the
> default setting, wxgrass crashes and I get the following error in the
> terminal window where I launch g.gui:
>
> GRASS_INFO_ERROR(22238,1): région pour le jeu de données (mapset) courant
> ligne 1: <n-s resol: 29.349241>
>
> GRASS_INFO_ERROR(22238,1): lancer "g.region"
> GRASS_INFO_END(22238,1)

right, it crashes when LC_NUMERIC != "C",  calling G_scan_resolution()

http://trac.osgeo.org/grass/browser/grass/trunk/lib/gis/rd_cellhd.c#L258

quick fix

http://trac.osgeo.org/grass/changeset/32063

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to