[GRASS-user] GRASS, ordinal not in range(128)

Moritz Lennert mlennert at club.worldonline.be
Mon Mar 20 03:12:03 PDT 2017


[Please keep discussions on the list]

Le Sun, 19 Mar 2017 19:27:28 -0300,
Luiz Andrade <lcoandrade at gmail.com> a écrit :

> Well, normally this is a problem when GRASS finds special characters
> (e.g. á, é, à, ã, etc). Check your strings for those characters and
> remove them.

The problem here does not seem to be with file or path names as
everything works when the locale is set to en_US. 

So there seems to be an issue when a different locale is used. This is
not something the user can handle, but is in the code.

Moritz

> 
> Regards,
> Luiz Claudio
> 
> 
> 
> 
> > Em 19 de mar de 2017, à(s) 09:42, Moritz Lennert
> > <mlennert at club.worldonline.be> escreveu:
> > 
> > Le Sat, 18 Mar 2017 11:53:48 -0300,
> > Andres Solarte <e.andres.solartec at gmail.com> a écrit :
> >   
> >> Hello Markus,
> >> 
> >> the first suggestion solved the problem  
> > 
> > This sounds like there might be some issue handling the translation.
> > Probably warrants a bug report.
> > 
> > Moritz
> >   
> >> 
> >> thank you so much, now it works :)
> >> 
> >> Gracias Vero también a vos!!!
> >> 
> >> Regards,
> >> 
> >> Andrés.
> >> 
> >> 
> >> 2017-03-17 16:37 GMT-03:00 Markus Neteler <neteler at osgeo.org>:
> >>   
> >>> Hi,
> >>> 
> >>> On Wed, Mar 15, 2017 at 12:59 PM, Andres Solarte
> >>> <e.andres.solartec at gmail.com> wrote:
> >>> ...    
> >>>> GRASS 7.3.svn (prueba):~ >  t.register -i type=raster
> >>>> input=ndvi_andres maps=`g.list raster pattern=prueba_andres*
> >>>> separator=comma` start="2015-09-07" increment="1 days"
> >>>> Reuniendo información del mapa...
> >>>> ERROR: ascii,Definir tiempo absoluto válido para mapa
> >>>> <,25,26,ordinal not in range(128)    
> >>> 
> >>> 
> >>> two suggestions:
> >>> 1. switch on the fly to English in the session, then run the last
> >>> command again:
> >>> 
> >>>       export LANG=en_US
> >>>       export LANGUAGE=en_US
> >>>       export LC_MESSAGES=en_US
> >>>       t.register ...
> >>> 
> >>> 2. if that also fails, change the debug level with
> >>> 
> >>> g.gisenv set=DEBUG=1   # or 2 or 3 ...
> >>> t.register ...
> >>> g.gisenv set=DEBUG=0
> >>> 
> >>> and see if you can find out from the output where it roughly
> >>> happens.
> >>> 
> >>> best
> >>> Markus
> >>>   
> > 
> > _______________________________________________
> > grass-user mailing list
> > grass-user at lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/grass-user  
> 



More information about the grass-user mailing list