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

Andres Solarte e.andres.solartec at gmail.com
Wed Mar 22 10:47:02 PDT 2017


Hello,

I'm working with grass72, I modified the
/usr/lib/grass72/locale/es/LC_MESSAGES/grasslibs.mo file by deleting the
accents and it works, so, maybe is a Python issue as you say.



2017-03-21 18:05 GMT-03:00 Markus Neteler <neteler at osgeo.org>:

> Hi,
>
> On Tue, Mar 21, 2017 at 3:13 PM, Andres Solarte
> <e.andres.solartec at gmail.com> wrote:
> > Hello,
> >
> > I changed the debug level as Markus suggested
> >
> > g.gisenv set=DEBUG=1
> >
> > this is the result
>
> good, we are getting closer...:
>
> > t.register -i type=raster input=ndvi_andres maps=`g.list raster
> > pattern=MODIS* separator=comma` start="2015-09-07" increment="1 days"
>
> ...
> > D1/1: G_find_raster2(): name=MODIS_2015250_h12v12_1km_NDVI mapset=prueba
> > D1/1: grass.script.core.start_command(): g.message -e
> message=ascii,Definir
> > tiempo absoluto válido para mapa <,25,26,ordinal not in range(128)
> > D1/1: G_set_program_name(): g.message
> > ERROR: ascii,Definir tiempo absoluto válido para mapa <,25,26,ordinal not
> >        in range(128)
>
> In the locale/po/grasslibs_es.po file there is the mention of the
> corresponding source code lines:
>
> #: ../lib/python/temporal/register.py:422
> #, python-format
> msgid ""
> "Set absolute valid time for map <%(id)s> with layer %(layer)s to
> %(start)s - "
> "%(end)s"
> msgstr ""
> "Definir tiempo absoluto válido para mapa <%(id)s> con capa %(layer)s en "
> "%(start)s - %(end)s"
>
> #: ../lib/python/temporal/register.py:427
> #, python-format
> msgid "Set absolute valid time for map <%s> to %s - %s"
> msgstr "Definir tiempo absoluto válido para mapa <%s> en %s - %s"
>
> Probably a Python issue there in reading the "á" of "válido"?
>
> Markus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20170322/bb7c2a9f/attachment.html>


More information about the grass-user mailing list