[GRASS-dev] [GRASS GIS] #3393: t.unregister: encoding error

GRASS GIS trac at osgeo.org
Thu Aug 10 06:56:57 PDT 2017


#3393: t.unregister: encoding error
-----------------------------------+-------------------------
 Reporter:  mlennert               |      Owner:  grass-dev@…
     Type:  defect                 |     Status:  new
 Priority:  normal                 |  Milestone:  7.2.2
Component:  Temporal               |    Version:  svn-trunk
 Keywords:  t.unregister encoding  |        CPU:  Unspecified
 Platform:  Unspecified            |
-----------------------------------+-------------------------
 As a corollary to #3392:

 {{{
 g.list type=raster pattern="*tempmean" output=fichier_cartes_tempmean
 t.create output=pluies_nc semantictype=sum title=precipitation_mois
 description="Précipitation totale mensuelle NC"
 t.register -i input=pluies_nc at climate_2000_2012
 file=fichier_cartes_tempmean start=2000-01-01 increment="1 months"
 Collecte des informations sur la carte ...
 t.unregister file=fichier_cartes_tempmean
 Unregister maps
  100%
 Unregister maps from the temporal database
 Traceback (most recent call last):
   File "/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc-linux-
 gnu/scripts/t.unregister", line 183, in <module>
     tgis.profile_function(main)
   File "/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc-linux-
 gnu/etc/python/grass/temporal/core.py", line 84, in profile_function
     func()
   File "/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc-linux-
 gnu/scripts/t.unregister", line 169, in main
     sp.update_from_registered_maps(dbif)
   File "/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc-linux-
 gnu/etc/python/grass/temporal/abstract_space_time_dataset.py", line 2292,
 in update_from_registered_maps
     " all registered maps of <%s>") % (self.get_id()))
 UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 7:
 ordinal not in range(128)
 }}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3393>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list