[GRASS-dev] Re: [GRASS GIS] #1488: v.in.dxf wrapper not working
GRASS GIS
trac at osgeo.org
Thu Nov 10 16:05:35 EST 2011
#1488: v.in.dxf wrapper not working
-------------------------+--------------------------------------------------
Reporter: cmbarton | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Keywords: v.in.dxf | Platform: Unspecified
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Comment(by cmbarton):
OK. This seems to be some kind of OS X 10.7 (AKA Lion) issue. It does work
fine on my OS X 10.6 (Snow Leopard) machine it was compiled on, but gives
the following error on my Lion laptop.
{{{
Traceback (most recent call last):
File "/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/etc
/python/wx/lib/filebrowsebutton.py", line 140, in OnChanged
self.changeCallback(evt)
File "/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/etc
/gui/wxpython/gui_modules/gdialogs.py", line 1946, in
OnSetDsn
input = path)
File "/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/etc
/gui/wxpython/gui_modules/gcmd.py", line 611, in RunCommand
stdout, stderr = map(utils.DecodeString, ps.communicate())
File "/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/etc
/gui/wxpython/gui_modules/utils.py", line 665, in
DecodeString
return string.decode(enc)
File "/System/Library/Frameworks/Python.framework/Versions
/2.6/lib/python2.6/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError
:
'utf8' codec can't decode byte 0xc1 in position 77: invalid
start byte
}}}
What is the function of "Decodestring" in this context? Is it necessary?
I'll try building under Lion to see if this goes away.
Michael
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1488#comment:2>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list