Re: [GRASS-dev] [GRASS GIS] #3275: wxGUI: encoding error when saving workspace

2017-05-07 Thread GRASS GIS
#3275: wxGUI: encoding error when saving workspace
--+--
  Reporter:  mlennert |  Owner:  grass-dev@…
  Type:  defect   | Status:  closed
  Priority:  normal   |  Milestone:  7.2.2
 Component:  wxGUI|Version:  svn-trunk
Resolution:  fixed|   Keywords:  wxGUI workspace encoding
   CPU:  Unspecified  |   Platform:  Unspecified
--+--
Changes (by annakrat):

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


Comment:

 Backported in r71057.

--
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] #3275: wxGUI: encoding error when saving workspace

2017-05-01 Thread GRASS GIS
#3275: wxGUI: encoding error when saving workspace
--+--
  Reporter:  mlennert |  Owner:  grass-dev@…
  Type:  defect   | Status:  new
  Priority:  normal   |  Milestone:  7.2.2
 Component:  wxGUI|Version:  svn-trunk
Resolution:   |   Keywords:  wxGUI workspace encoding
   CPU:  Unspecified  |   Platform:  Unspecified
--+--
Changes (by mlennert):

 * milestone:  7.2.1 => 7.2.2


Comment:

 Replying to [comment:4 marisn]:
 > There have been fixes for #3340 related to encoding. At the moment
 loading/saving workspace with various non-latin chars seems to work fine.
 Can this be closed?

 r70531 still needs backporting so I would keep this ticket open until that
 has happened.
 Changing milestone to 7.2.2 to harmonize with the rest.

--
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] #3275: wxGUI: encoding error when saving workspace

2017-04-30 Thread GRASS GIS
#3275: wxGUI: encoding error when saving workspace
--+--
  Reporter:  mlennert |  Owner:  grass-dev@…
  Type:  defect   | Status:  new
  Priority:  normal   |  Milestone:  7.2.1
 Component:  wxGUI|Version:  svn-trunk
Resolution:   |   Keywords:  wxGUI workspace encoding
   CPU:  Unspecified  |   Platform:  Unspecified
--+--

Comment (by marisn):

 There have been fixes for #3340 related to encoding. At the moment
 loading/saving workspace with various non-latin chars seems to work fine.
 Can this be closed?

--
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] #3275: wxGUI: encoding error when saving workspace

2017-02-11 Thread GRASS GIS
#3275: wxGUI: encoding error when saving workspace
--+--
  Reporter:  mlennert |  Owner:  grass-dev@…
  Type:  defect   | Status:  new
  Priority:  normal   |  Milestone:  7.2.1
 Component:  wxGUI|Version:  svn-trunk
Resolution:   |   Keywords:  wxGUI workspace encoding
   CPU:  Unspecified  |   Platform:  Unspecified
--+--

Comment (by annakrat):

 In [changeset:"70531" 70531]:
 {{{
 #!CommitTicketReference repository="" revision="70531"
 wxGUI: encode values when saving workspace with overlays (see #3275)
 }}}

--
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] #3275: wxGUI: encoding error when saving workspace

2017-02-09 Thread GRASS GIS
#3275: wxGUI: encoding error when saving workspace
--+--
  Reporter:  mlennert |  Owner:  grass-dev@…
  Type:  defect   | Status:  new
  Priority:  normal   |  Milestone:  7.2.1
 Component:  wxGUI|Version:  svn-trunk
Resolution:   |   Keywords:  wxGUI workspace encoding
   CPU:  Unspecified  |   Platform:  Unspecified
--+--

Comment (by mlennert):

 Replying to [comment:1 mlennert]:
 > Vaclav made me realize that I did have a non-ascii character in my
 display: u'\u20ac' is a Euro sign.

 This does not make this less an error, though. I suppose this is linked to
 the GSoC cartography work trying to save more elements of the current map
 display ?

--
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] #3275: wxGUI: encoding error when saving workspace

2017-02-06 Thread GRASS GIS
#3275: wxGUI: encoding error when saving workspace
--+--
  Reporter:  mlennert |  Owner:  grass-dev@…
  Type:  defect   | Status:  new
  Priority:  normal   |  Milestone:  7.2.1
 Component:  wxGUI|Version:  svn-trunk
Resolution:   |   Keywords:  wxGUI workspace encoding
   CPU:  Unspecified  |   Platform:  Unspecified
--+--

Comment (by mlennert):

 Vaclav made me realize that I did have a non-ascii character in my
 display: u'\u20ac' is a Euro sign.

--
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] #3275: wxGUI: encoding error when saving workspace

2017-02-06 Thread GRASS GIS
#3275: wxGUI: encoding error when saving workspace
--+-
 Reporter:  mlennert  |  Owner:  grass-dev@…
 Type:  defect| Status:  new
 Priority:  normal|  Milestone:  7.2.1
Component:  wxGUI |Version:  svn-trunk
 Keywords:  wxGUI workspace encoding  |CPU:  Unspecified
 Platform:  Unspecified   |
--+-
 Trying to save my workspace, I get the following error:

 {{{
 Échec d'écriture des paramètres de l'espace de travail courant.

 Raison: 'ascii' codec can't encode character u'\u20ac' in position 34:
 ordinal not in range(128)

 Traceback (most recent call last):
   File "/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc-linux-
 gnu/gui/wxpython/lmgr/frame.py", line 1634, in SaveToWorkspaceFile
 WriteWorkspaceFile(lmgr=self, file=tmpfile)
   File "/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc-linux-
 gnu/gui/wxpython/core/workspace.py", line 906, in __init__
 self.__writeOverlay(mapdisp)
   File "/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc-linux-
 gnu/gui/wxpython/core/workspace.py", line 1522, in __writeOverlay
 self.__writeOverlayParams(disp_size, overlay.cmd, overlay.coords)
   File "/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc-linux-
 gnu/gui/wxpython/core/workspace.py", line 1570, in __writeOverlayParams
 self.file.write('%s%s\n' % (' ' * self.indent,
 prm.split("=", 1)[1]))
 UnicodeEncodeError: 'ascii' codec can't encode character u'\u20ac' in
 position 34: ordinal not in range(128)
 }}}

 The weird part is that I don't even know where I would have a non-ascii
 character. Maybe some translation has happened of parameters for the
 workspace parameter file ?

--
Ticket URL: 
GRASS GIS 

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