[GRASS-dev] [GRASS GIS] #3837: OSGeo4W winGRASS77svn - startup error: TypeError: endswith first arg must be bytes or a tuple of bytes, not str
GRASS GIS
trac at osgeo.org
Sat May 11 07:57:28 PDT 2019
#3837: OSGeo4W winGRASS77svn - startup error: TypeError: endswith first arg must
be bytes or a tuple of bytes, not str
--------------------------+------------------------------------
Reporter: hellik | Owner: grass-dev@…
Type: defect | Status: new
Priority: blocker | Milestone: 7.8.0
Component: Python | Version: svn-trunk
Resolution: | Keywords: python3, py3, wingrass
CPU: Unspecified | Platform: MSWindows
--------------------------+------------------------------------
Comment (by hellik):
Replying to [comment:9 pmav99]:
> I am not sure I understand the last question. If you are asking why the
same line is being repeated, then, quoting from
[https://nedbatchelder.com/blog/201812/a_thing_i_learned_about_python_recursion.html
here]:
it's not the repeated Line, but in the script
''if any(cmd.lower().endswith(ext) for ext in pathext):''
and in the traceback
''if any(cmd.lower().endswith(ext.lower()) for ext in pathext):''
do you see the difference?
see your remark above.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3837#comment:11>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list