[GRASS-dev] [GRASS-SVN] r60679 - grass/trunk/lib/python/script

Martin Landa landa.martin at gmail.com
Wed Jun 4 08:25:54 PDT 2014


2014-06-03 9:10 GMT+02:00 Pietro <peter.zamb at gmail.com>:
>>> Remove Popen() "magic" on Windows; it creates more problems than it solves
>
> Please, could you explain which problems creates?

I am waiting for reasonable/acceptable explanation for long time, I do
not assume that it will ever come. Anyway, dear all, this commit
completely broke the whole winGRASS 7.1 which even doesn't start

  File "C:\OSGEO4~1\apps\grass\grass-7.1.svn\etc\python\grass\script\core.py", l
ine 981, in gisenv
    s = read_command("g.gisenv", flags='n')
  File "C:\OSGEO4~1\apps\grass\grass-7.1.svn\etc\python\grass\script\core.py", l
ine 400, in read_command
    ps = pipe_command(*args, **kwargs)
  File "C:\OSGEO4~1\apps\grass\grass-7.1.svn\etc\python\grass\script\core.py", l
ine 375, in pipe_command
    return start_command(*args, **kwargs)
  File "C:\OSGEO4~1\apps\grass\grass-7.1.svn\etc\python\grass\script\core.py", l
ine 334, in start_command
    return Popen(args, **popts)
  File "C:\OSGEO4~1\apps\Python27\lib\subprocess.py", line 711, in __init__
    errread, errwrite)
  File "C:\OSGEO4~1\apps\Python27\lib\subprocess.py", line 948, in _execute_chil
d
    startupinfo)
WindowsError: [Error 2] SystÚm nem¨×e nalÚzt uvedenř soubor
Error in GUI startup. If necessary, please report this error to the GRASS develo
pers.
Switching to text mode now.

Hit RETURN to continue...

Happily we have 7.0 which still includes this "magic" (in other words
GRASS starts and works). Martin

-- 
Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa


More information about the grass-dev mailing list