[GRASS-dev] [GRASS GIS] #3777: vector digitizer crashes with python 3
GRASS GIS
trac at osgeo.org
Wed Mar 6 05:09:51 PST 2019
#3777: vector digitizer crashes with python 3
---------------------------------------+-------------------------
Reporter: veroandreo | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.8.0
Component: wxGUI | Version: svn-trunk
Keywords: vector digitizer, python3 | CPU: Unspecified
Platform: Linux |
---------------------------------------+-------------------------
When changing to vector digitizer mode in Map Display and attempting to
create a new vector map to start digitizing, it crashes and I get the
following in the GUI Console tab:
{{{
Traceback (most recent call last):
File
"/home/veroandreo/software/grass7_trunk/dist.x86_64-pc-
linux-gnu/gui/wxpython/vdigit/toolbars.py", line 818, in
OnSelectMap
disableAdd=True)
File
"/home/veroandreo/software/grass7_trunk/dist.x86_64-pc-
linux-gnu/gui/wxpython/gui_core/dialogs.py", line 520, in
CreateNewVector
stdin=sql)
File
"/home/veroandreo/software/grass7_trunk/dist.x86_64-pc-
linux-gnu/gui/wxpython/core/gcmd.py", line 719, in
RunCommand
ps.stdin.write(stdin)
TypeError
:
a bytes-like object is required, not 'str'
}}}
I use trunk r74162 in a virtualenv with python3.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3777>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list