[GRASS-dev] [GRASS GIS] #2885: wxGUI Location Creation Wizard: UnicodeEncoreError when GISDBASE has accents in path
GRASS GIS
trac at osgeo.org
Tue Jan 10 19:50:20 PST 2017
#2885: wxGUI Location Creation Wizard: UnicodeEncoreError when GISDBASE has
accents in path
--------------------------+--------------------------------------
Reporter: mlennert | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.2.1
Component: wxGUI | Version: svn-trunk
Resolution: | Keywords: location wizard encoding
CPU: Unspecified | Platform: Unspecified
--------------------------+--------------------------------------
Comment (by wenzeslaus):
Another possible traceback besides the one reported is:
{{{
Traceback (most recent call last):
File "/usr/lib/grass72/gui/wxpython/gis_set.py", line 531, in OnWizard
grassdatabase=self.tgisdbase.GetValue())
File "/usr/lib/grass72/gui/wxpython/location_wizard/wizard.py", line
2327, in __init__
msg = self.OnWizFinished()
File "/usr/lib/grass72/gui/wxpython/location_wizard/wizard.py", line
2486, in OnWizFinished
current_gdb = grass.gisenv()['GISDBASE'].decode(sys.stdin.encoding)
TypeError: decode() argument 1 must be string, not None
}}}
However, I cannot reproduce this issue on my machine. Unicode in GRASS GIS
db path works. Can someone test it?
If I set everything from `locale` to nothing, I get different error, but
I'm not sure if that's even supposed to work (no encoding set but unicode
in paths).
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2885#comment:8>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list