[GRASS-dev] [GRASS GIS] #3777: vector digitizer crashes with python 3

GRASS GIS trac at osgeo.org
Thu Apr 18 13:38:52 PDT 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
Resolution:               |   Keywords:  vector digitizer, python3
       CPU:  Unspecified  |   Platform:  Linux
--------------------------+---------------------------------------

Comment (by veroandreo):

 The error points to slightly different lines:

 {{{
 Traceback (most recent call last):
   File
 "/home/veroandreo/software/grass7_trunk/dist.x86_64-pc-
 linux-gnu/gui/wxpython/vdigit/toolbars.py", line 817, in
 OnSelectMap

 disableAdd=True)
   File
 "/home/veroandreo/software/grass7_trunk/dist.x86_64-pc-
 linux-gnu/gui/wxpython/gui_core/dialogs.py", line 524, 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'
 }}}

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



More information about the grass-dev mailing list