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

Andres Solarte e.andres.solartec at gmail.com
Tue Mar 21 07:13:18 PDT 2017


Hello,

I changed the debug level as Markus suggested

g.gisenv set=DEBUG=1

this is the result

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_set_program_name(): g.list
D1/1: G_set_program_name(): t.register
D1/1: G_set_program_name(): g.gisenv
D1/1: grass.script.core.start_command(): t.connect -c
D1/1: G_set_program_name(): t.connect
D1/1: grass.script.core.start_command(): g.gisenv -n
D1/1: G_set_program_name(): g.gisenv
D1/1: Start messenger server
D1/1: Initiate the temporal database
D1/1: Start C-interface server
D1/1: Checking mapset <prueba>
D1/1: Checking mapset <prueba>
D1/1: c_library_server._available_mapsets:
  mapset:  prueba
  has permission 1
  in search path: 1
D1/1: c_library_server._available_mapsets:
  mapset:  PERMANENT
  has permission 1
  in search path: 1
D1/1: Checking mapset <prueba>
D1/1: Checking mapset <prueba>
D1/1: get_available_temporal_mapsets:
  mapset prueba
  driver sqlite
  database /home/andres/Escritorio/PRUEBAQGIS/Prueba/prueba/tgis/sqlite.db
D1/1: Checking mapset <PERMANENT>
D1/1: Checking mapset <PERMANENT>
D1/1: get_available_temporal_mapsets:
  mapset PERMANENT
  driver None
  database None
D1/1: DBConnection constructor:
  backend: sqlite
  dbstring: /home/andres/Escritorio/PRUEBAQGIS/Prueba/prueba/tgis/sqlite.db
D1/1: c_library_server._available_mapsets:
  mapset:  prueba
  has permission 1
  in search path: 1
D1/1: c_library_server._available_mapsets:
  mapset:  PERMANENT
  has permission 1
  in search path: 1
D1/1: Checking mapset <prueba>
D1/1: Checking mapset <prueba>
D1/1: Checking mapset <PERMANENT>
D1/1: get_available_temporal_mapsets:
  mapset prueba
  driver sqlite
  database /home/andres/Escritorio/PRUEBAQGIS/Prueba/prueba/tgis/sqlite.db
D1/1: Checking mapset <PERMANENT>
D1/1: get_available_temporal_mapsets:
  mapset PERMANENT
  driver None
  database None
D1/1: DBConnection constructor:
  backend: sqlite
  dbstring: /home/andres/Escritorio/PRUEBAQGIS/Prueba/prueba/tgis/sqlite.db
Reuniendo información del mapa...
D1/1: G_find_raster(): name=MODIS_2015250_h12v12_1km_NDVI mapset=prueba
D1/1: G_find_raster(): name=MODIS_2015250_h12v12_1km_NDVI mapset=prueba
D1/1: G_find_raster(): name=MODIS_2015250_h12v12_1km_NDVI mapset=prueba
D1/1: G_find_raster2(): name=MODIS_2015250_h12v12_1km_NDVI mapset=prueba
D1/1: G_find_raster2(): name=MODIS_2015250_h12v12_1km_NDVI mapset=prueba
D1/1: G_find_raster2(): name=MODIS_2015250_h12v12_1km_NDVI mapset=prueba
D1/1: G_find_raster2(): name=MODIS_2015250_h12v12_1km_NDVI mapset=prueba
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)
D1/1: Stop messenger server
D1/1: G_set_program_name(): g.gisenv


Regards

Andrés.

2017-03-21 5:22 GMT-03:00 Moritz Lennert <mlennert at club.worldonline.be>:

>
>
> Le 21 mars 2017 04:38:11 GMT+01:00, Andres Solarte <
> e.andres.solartec at gmail.com> a écrit :
> >Ok, but I changed the language on ubuntu. It solved the problem.
>
> Yes. Could you change it back to what it was and then run the command in
> debug mode as suggested by Markus ?
>
> Moritz
>
>
> >
> >Enviado desde mi smartphone BlackBerry 10.
> >  Mensaje original
> >De: Markus Neteler
> >Enviado: lunes, 20 de marzo de 2017 23:24
> >Para: Moritz Lennert
> >CC: grass-user at lists.osgeo.org
> >Asunto: Re: [GRASS-user] GRASS, ordinal not in range(128)
> >
> >On Mon, Mar 20, 2017 at 11:12 AM, Moritz Lennert
> ><mlennert at club.worldonline.be> wrote:
> >> [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.
> >
> >It would really help if you could change the debug level with
> >
> >g.gisenv set=DEBUG=1 # or 2 or 3 ...
> >
> >and then run
> >
> >t.register ...
> >
> >to see in the output where the problem roughly happens.
> >
> >To switch back to "debug silence", run then:
> >
> >g.gisenv set=DEBUG=0
> >
> >Markus
> >_______________________________________________
> >grass-user mailing list
> >grass-user at lists.osgeo.org
> >https://lists.osgeo.org/mailman/listinfo/grass-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20170321/d80ea773/attachment-0001.html>


More information about the grass-user mailing list