[GRASS-user] [GRASS-dev] Python error with GRASS 7 on Windows 8

Martin Landa landa.martin at gmail.com
Tue Jan 7 06:09:28 PST 2014


Hi,

2014/1/7 Anna Petrášová <kratochanna at gmail.com>:
>> only the the command line version of g.extension is working, e.g.:
>>
>> g.extension extension=r.geomorphon operation=add
>> Downloading precompiled GRASS Addons <r.geomorphon>...
>> Updating metadata file...
>> Installation of <r.geomorphon> successfully finished
>> (Tue Jan 07 13:41:31 2014) Command finished (2 sec)
>>
>> please open a ticket in http://trac.osgeo.org/grass/
>
>
> this can be again the Python incompatibility issue (the MAXREPEAT problem).
> For this issue there is already ticket
> http://trac.osgeo.org/grass/ticket/2150

right, this is a known issue, unfortunately calling python script (in
this case g.extension) from Python code (in this case wxGUI) simply
fails on Windows. It's blocker for GRASS 7. This bug has been fixed in
r57910 [1] (workaround, but at least not broken software) but reverted
by Glynn in r57911 [2]. Unfortunately nobody came with any solution.

Martin

[1] http://trac.osgeo.org/grass/changeset/57910
[2] http://trac.osgeo.org/grass/changeset/57911/grass/trunk/lib/python


More information about the grass-user mailing list