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

Helmut Kudrnovsky hellik at web.de
Wed Jun 4 10:07:23 PDT 2014


Martin Landa wrote
> 2014-06-03 9:10 GMT+02:00 Pietro <

> peter.zamb@

> >:
>>>> 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
> 
> -- 

I don't understand this uneeded break of winGRASS 7.1.

anyway,  I've intensely tested this "magic" quite a lot in the last 2 months
in different win-boxes (vista, 7, 8) with a bunch of different python
scripts. no problem so far.



-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Re-GRASS-SVN-r60679-grass-trunk-lib-python-script-tp5143645p5144069.html
Sent from the Grass - Dev mailing list archive at Nabble.com.


More information about the grass-dev mailing list