Opened 7 years ago

Closed 7 years ago

#3393 closed defect (duplicate)

t.unregister: encoding error

Reported by: mlennert Owned by: grass-dev@…
Priority: normal Milestone: 7.2.2
Component: Temporal Version: svn-trunk
Keywords: t.unregister encoding Cc:
CPU: Unspecified Platform: Unspecified

Description

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@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)

Change History (1)

comment:1 by mlennert, 7 years ago

Resolution: duplicate
Status: newclosed

As this seems to be a general problem, all discussion should go on in #3392.

Note: See TracTickets for help on using tickets.