#2189: PyGRASS Module does not work on Windows
-------------------------+--------------------------------------------------
Reporter: annakrat | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Python | Version: svn-trunk
Keywords: pygrass | Platform: MSWindows 8
Cpu: Unspecified |
-------------------------+--------------------------------------------------
PyGRASS Module class is not working on Windows. It can't find the command:
{{{
import grass.pygrass.modules as pymod
region = pymod.Module("g.region")
GrassError: 'Error running: `g.region --interface-description`.'
}}}
If I enter the entire path of the command, it works:
{{{
egion =
pymod.Module(r"C:\OSGeo4W_dev\apps\grass\grass-7.0.svn\bin\g.region")
region.description
Manages the boundary definitions for the geographic region.
}}}
This ticket is related to #2067 and #2188.
Maybe PyGRASS could be a separate component in trac?
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2189>
GRASS GIS <http://grass.osgeo.org>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev