[GRASS-dev] [GRASS GIS] #2189: PyGRASS Module does not work on Windows
GRASS GIS
trac at osgeo.org
Thu Feb 6 07:03:30 PST 2014
#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>
More information about the grass-dev
mailing list