[GRASS-dev] [GRASS GIS] #4023: TypeError: a bytes-like object is required, not 'str'

GRASS GIS trac at osgeo.org
Thu Jan 23 08:33:20 PST 2020


#4023: TypeError: a bytes-like object is required, not 'str'
--------------------------+-------------------------
  Reporter:  pvanbosgeo   |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:
 Component:  Default      |    Version:  unspecified
Resolution:               |   Keywords:
       CPU:  Unspecified  |   Platform:  MSWindows
--------------------------+-------------------------

Comment (by annakrat):

 Should be enough to remove 'b' from:


 {{{
 fileConf = open(confilename, 'wb')
 }}}

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



More information about the grass-dev mailing list