[GRASS-dev] [GRASS GIS] #3394: t.info: encoding error

#3394: t.info: encoding error
-----------------------------+-------------------------
Reporter: mlennert | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.2.2
Component: Temporal | Version: svn-trunk
Keywords: t.info encoding | CPU: Unspecified
Platform: Unspecified |
-----------------------------+-------------------------
And to continue the series (cf #3392 and #3393):

{{{
t.info pluies_nc
  +-------------------- Space Time Raster Dataset
-----------------------------+
  |
|
  +-------------------- Basic information
-------------------------------------+
  | Id: ........................ pluies_nc@climate_2000_2012
  | Name: ...................... pluies_nc
  | Mapset: .................... climate_2000_2012
  | Creator: ................... mlennert
  | Temporal type: ............. absolute
  | Creation time: ............. 2017-08-10 15:56:05.067938
  | Modification time:.......... 2017-08-10 15:56:05.067968
  | Semantic type:.............. sum
  +-------------------- Absolute time
-----------------------------------------+
  | Start time:................. None
  | End time:................... None
  | Granularity:................ None
  | Temporal type of maps:...... None
  +-------------------- Spatial extent
----------------------------------------+
  | North:...................... None
  | South:...................... None
  | East:.. .................... None
  | West:....................... None
  | Top:........................ None
  | Bottom:..................... None
  +-------------------- Metadata information
----------------------------------+
  | Raster register table:......
raster_map_register_bfba353891084ce68eb3408071dbaae3
  | North-South resolution min:. None
  | North-South resolution max:. None
  | East-west resolution min:... None
  | East-west resolution max:... None
  | Minimum value min:.......... None
  | Minimum value max:.......... None
  | Maximum value min:.......... None
  | Maximum value max:.......... None
  | Aggregation type:........... None
  | Number of registered maps:.. None
  |
  | Title:
  | precipitation_mois
  | Description:
Traceback (most recent call last):
   File "/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc-linux-
gnu/scripts/t.info", line 122, in <module>
     main()
   File "/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc-linux-
gnu/scripts/t.info", line 118, in main
     dataset.print_info()
   File "/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc-linux-
gnu/etc/python/grass/temporal/abstract_space_time_dataset.py", line 126,
in print_info
     self.metadata.print_info()
   File "/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc-linux-
gnu/etc/python/grass/temporal/metadata.py", line 1272, in print_info
     STDSRasterMetadataBase.print_info(self)
   File "/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc-linux-
gnu/etc/python/grass/temporal/metadata.py", line 1158, in print_info
     STDSMetadataBase.print_info(self)
   File "/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc-linux-
gnu/etc/python/grass/temporal/metadata.py", line 921, in print_info
     print(" | " + str(self.get_description()))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in
position 2: ordinal not in range(128)
}}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3394&gt;
GRASS GIS <https://grass.osgeo.org>

#3394: t.info: encoding error
--------------------------+-----------------------------
  Reporter: mlennert | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.2.2
Component: Temporal | Version: svn-trunk
Resolution: duplicate | Keywords: t.info encoding
       CPU: Unspecified | Platform: Unspecified
--------------------------+-----------------------------
Changes (by mlennert):

* status: new => closed
* resolution: => duplicate

Comment:

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

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3394#comment:1&gt;
GRASS GIS <https://grass.osgeo.org>