[GRASS-dev] [GRASS GIS] #3737: Testsuite gunittest/multirunner.py: TypeError: str expected, not bytes

GRASS GIS trac at osgeo.org
Sat Jan 26 07:56:29 PST 2019


#3737: Testsuite gunittest/multirunner.py: TypeError: str expected, not bytes
--------------------------+--------------------------------
  Reporter:  AnikaBettge  |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:  7.8.0
 Component:  Python       |    Version:  svn-trunk
Resolution:               |   Keywords:  Python3, testsuite
       CPU:  x86-64       |   Platform:  Linux
--------------------------+--------------------------------

Comment (by pmav99):

 That being said, even after applying the patch the testrunner is still not
 running as expected. More specifically all the tests are failing with this
 message on `stderr.txt`:

 {{{
 .../stderr.txt
 Unknown option: -3
 usage: python3 [option] ... [-c cmd | -m mod | file | -] [arg] ...
 Try `python -h' for more information.
 }}}

 Python 2 does indeed have a `-3` switch but Python 3 does not. I am
 looking but I can't find where this switch is added. If anyone has any
 idea, please post.

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



More information about the grass-dev mailing list