[GRASS-dev] [GRASS GIS] #2737: importing vector and raster problem

GRASS GIS trac at osgeo.org
Thu Sep 10 08:10:02 PDT 2015


#2737: importing vector and raster problem
-----------------------+-------------------------
  Reporter:  carminem  |      Owner:  grass-dev@…
      Type:  defect    |     Status:  new
  Priority:  critical  |  Milestone:  7.0.1
 Component:  wxGUI     |    Version:  7.0.1
Resolution:            |   Keywords:
       CPU:  x86-64    |   Platform:  Linux
-----------------------+-------------------------
Changes (by martinl):

 * component:  Default => wxGUI
 * milestone:   => 7.0.1


Old description:

> When I launch v.in.ogr and r.in.gdal I receive this error:
>
> D1/5: grass.script.core.start_command(): g.gisenv -n
> D1/5: G_set_program_name(): g.gisenv
> D2/5: G_option_to_separator(): key = separator -> sep = '
> '
> Traceback (most recent call last):
>   File "/usr/lib/grass70/gui/wxpython/lmgr/frame.py", line 310, in
> <lambda>
>     lambda event: self.RunSpecialCmd(event.cmd))
>   File "/usr/lib/grass70/gui/wxpython/lmgr/frame.py", line 617, in
> RunSpecialCmd
>     self.OnImportGdalLayers(event = None, cmd = command)
>   File "/usr/lib/grass70/gui/wxpython/lmgr/frame.py", line 1679, in
> OnImportGdalLayers
>     dlg = GdalImportDialog(parent = self, giface = self._giface)
>   File "/usr/lib/grass70/gui/wxpython/gui_core/dialogs.py", line 1878, in
> __init__
>     " ({mightNotWork})".format(mightNotWork=mightNotWork)))
> UnicodeEncodeError: 'ascii' codec can't encode character u'\xf9' in
> position 37: ordinal not in range(128)
>
> I use grass 7.0.1 in ubuntu 14.04.

New description:

 When I launch v.in.ogr and r.in.gdal I receive this error:

 {{{
 D1/5: grass.script.core.start_command(): g.gisenv -n
 D1/5: G_set_program_name(): g.gisenv
 D2/5: G_option_to_separator(): key = separator -> sep = '
 '
 Traceback (most recent call last):
   File "/usr/lib/grass70/gui/wxpython/lmgr/frame.py", line 310, in
 <lambda>
     lambda event: self.RunSpecialCmd(event.cmd))
   File "/usr/lib/grass70/gui/wxpython/lmgr/frame.py", line 617, in
 RunSpecialCmd
     self.OnImportGdalLayers(event = None, cmd = command)
   File "/usr/lib/grass70/gui/wxpython/lmgr/frame.py", line 1679, in
 OnImportGdalLayers
     dlg = GdalImportDialog(parent = self, giface = self._giface)
   File "/usr/lib/grass70/gui/wxpython/gui_core/dialogs.py", line 1878, in
 __init__
     " ({mightNotWork})".format(mightNotWork=mightNotWork)))
 UnicodeEncodeError: 'ascii' codec can't encode character u'\xf9' in
 position 37: ordinal not in range(128)
 }}}

 I use grass 7.0.1 in ubuntu 14.04.

--

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2737#comment:1>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list