Opened 7 years ago
Closed 7 years ago
#3394 closed defect (duplicate)
t.info: encoding error
| Reported by: | mlennert | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.2.2 |
| Component: | Temporal | Version: | svn-trunk |
| Keywords: | t.info encoding | Cc: | |
| CPU: | Unspecified | Platform: | Unspecified |
Description
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)
Note:
See TracTickets
for help on using tickets.

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