Re: [GRASS-dev] [GRASS GIS] #3395: t.rast.extract : encoding error

2017-08-11 Thread GRASS GIS
#3395: t.rast.extract : 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.rast.extract 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: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #3395: t.rast.extract : encoding error

2017-08-10 Thread GRASS GIS
#3395: t.rast.extract : encoding error
--+-
  Reporter:  mlennert |  Owner:  grass-dev@…
  Type:  defect   | Status:  new
  Priority:  normal   |  Milestone:  7.2.2
 Component:  Temporal |Version:  svn-trunk
Resolution:   |   Keywords:  t.rast.extract encoding
   CPU:  Unspecified  |   Platform:  Unspecified
--+-

Comment (by huhabla):

 This is horrible, who implemented this?
 It will need plenty of time to fix this. And i can not reproduce the
 translated error message UTF errors. Welcome to the UTF decode/encode
 error hell.

--
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

[GRASS-dev] [GRASS GIS] #3395: t.rast.extract : encoding error

2017-08-10 Thread GRASS GIS
#3395: t.rast.extract : encoding error
-+-
 Reporter:  mlennert |  Owner:  grass-dev@…
 Type:  defect   | Status:  new
 Priority:  normal   |  Milestone:  7.2.2
Component:  Temporal |Version:  svn-trunk
 Keywords:  t.rast.extract encoding  |CPU:  Unspecified
 Platform:  Unspecified  |
-+-
 And here's the next (after #3392, #3393, and #3394). I'll stop after this
 as this seems to be a fundamental issue in the whole temporal modules
 suite:


 {{{
 t.rast.extract input=pluies_nc output=tempmean_2010 where="start_time >=
 '2010-01-01' and start_time < '2011-01-01'"
 Traceback (most recent call last):
   File "/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc-linux-
 gnu/scripts/t.rast.extract", line 106, in 
 main()
   File "/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc-linux-
 gnu/scripts/t.rast.extract", line 100, in main
 base, time_suffix, nprocs, register_null)
   File "/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc-linux-
 gnu/etc/python/grass/temporal/extract.py", line 189, in extract_dataset
 gscript.overwrite())
   File "/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc-linux-
 gnu/etc/python/grass/temporal/open_stds.py", line 174, in open_new_stds
 sp.insert(dbif)
   File "/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc-linux-
 gnu/etc/python/grass/temporal/abstract_space_time_dataset.py", line 378,
 in insert
 statement += AbstractDataset.insert(self, dbif=dbif, execute=False)
   File "/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc-linux-
 gnu/etc/python/grass/temporal/abstract_dataset.py", line 398, in insert
 statement += self.metadata.get_insert_statement_mogrified(dbif)
   File "/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc-linux-
 gnu/etc/python/grass/temporal/base.py", line 401, in
 get_insert_statement_mogrified
 mapset=self.mapset)
   File "/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc-linux-
 gnu/etc/python/grass/temporal/core.py", line 945, in mogrify_sql_statement
 return self.connections[mapset].mogrify_sql_statement(content)
   File "/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc-linux-
 gnu/etc/python/grass/temporal/core.py", line 1215, in
 mogrify_sql_statement
 str(args[count]),
 UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in
 position 2: ordinal not in range(128)
 }}}

--
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev