id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,cpu,platform 3837,"OSGeo4W winGRASS77svn - startup error: TypeError: endswith first arg must be bytes or a tuple of bytes, not str",hellik,grass-dev@…,"taken from [https://lists.osgeo.org/pipermail/grass-dev/2019-April/092079.html dev ML 1] {{{ Hi, just tried to start the latest OSGeo4W winGRASS77svn daily build: ---- C:\>grass77svn Starting GRASS GIS... Traceback (most recent call last): File ""C:\OSGEO4~1\apps\grass\grass77\gui\wxpython\gis_set.py"", line 34, in from core import globalvar File ""C:\OSGEO4~1\apps\grass\grass77\gui\wxpython\core\globalvar.py"", line 35, in from core.debug import Debug File ""C:\OSGEO4~1\apps\grass\grass77\gui\wxpython\core\debug.py"", line 77, in Debug = DebugMsg() File ""C:\OSGEO4~1\apps\grass\grass77\gui\wxpython\core\debug.py"", line 39, in __init__ self.SetLevel() File ""C:\OSGEO4~1\apps\grass\grass77\gui\wxpython\core\debug.py"", line 45, in SetLevel self.debuglevel = int(grass.gisenv().get('WX_DEBUG', 0)) File ""C:\OSGEO4~1\apps\grass\grass77\etc\python\grass\script\core.py"", line 1074, in gisenv s = read_command(""g.gisenv"", flags='n', env=env) File ""C:\OSGEO4~1\apps\grass\grass77\etc\python\grass\script\core.py"", line 494, in read_command process = pipe_command(*args, **kwargs) File ""C:\OSGEO4~1\apps\grass\grass77\etc\python\grass\script\core.py"", line 463, in pipe_command return start_command(*args, **kwargs) File ""C:\OSGEO4~1\apps\grass\grass77\etc\python\grass\script\core.py"", line 393, in start_command return Popen(args, **popts) File ""C:\OSGEO4~1\apps\grass\grass77\etc\python\grass\script\core.py"", line 54, in __init__ cmd = shutil_which(args[0]) File ""C:\OSGEO4~1\apps\Python37\lib\shutil.py"", line 1151, in which if any(cmd.lower().endswith(ext.lower()) for ext in pathext): File ""C:\OSGEO4~1\apps\Python37\lib\shutil.py"", line 1151, in if any(cmd.lower().endswith(ext.lower()) for ext in pathext): TypeError: endswith first arg must be bytes or a tuple of bytes, not str ERROR: Error in GUI startup. See messages above (if any) and if necessary, please report this error to the GRASS developers. On systems with package manager, make sure you have the right GUI package, probably named grass-gui, installed. To run GRASS GIS in text mode use the --text flag. Use '--help' for further options grass77 --help See also: https://grass.osgeo.org/grass77/manuals/helptext.html Exiting... Drücken Sie eine beliebige Taste . . . ---- anyone any idea? }}} additional info [https://lists.osgeo.org/pipermail/grass-dev/2019-April/092080.html dev ML 2] {{{ C:\>g.version -g version=7.7.svn date=2019 revision=r74428M build_date=2019-04-26 build_platform=x86_64-w64-mingw32 build_off_t_size=8 }}} and [https://lists.osgeo.org/pipermail/grass-dev/2019-April/092081.html dev ML 3] {{{ Same error on Vista with same version. Locale is set to Latvia. }}} ",defect,closed,blocker,7.8.0,Python,svn-trunk,fixed,"python3, py3, wingrass",,Unspecified,MSWindows