[GRASS-user] How to force remove broken vector layers?
allar.haav at gmail.com
Wed Apr 10 05:05:43 PDT 2013
As for the latest compiled WinGRASS7, which at the moment (from osgeo4w)
is r55677-547, then this gives the error right at the startup of grass7
(i.e. after g.gui command):
GRASS 7.0.svn> Traceback (most recent call last):
line 34, in <module>
from lmgr.frame import GMFrame
line 69, in <module>
from lmgr.pyshell import PyShellWindow
line 27, in <module>
import grass.pygrass as pygrass
line 17, in <module>
line 11, in <module>
line 9, in <module>
line 20, in <module>
_GREG = Module('g.region')
line 87, in __init__
raise GrassError(str_err % self.name)
grass.pygrass.errors.GrassError: "Module 'g.region' not found, please
check that the module exist"
Therefore I've been using an older build (r55595-540) with which I have
this curious vector layer deletion issue (which I'm sure I didn't have a
few weeks ago at least). It doesn't matter whether I try to do it in a
script or not, g.remove does not remove vector layers completely. It
seems to get stuck with hist file. There is a chance though that the
issue isn't apparent in a newer build.
One probable solution would be moving on to Unix though.
On 10/04/2013 12:22, Pietro wrote:
> Hi Allar,
> On Tue, Apr 9, 2013 at 4:20 PM, Allar Haav <allar.haav at gmail.com> wrote:
>> The GRASS 7 I'm running currently however is a week-old r55595-540 as the
>> later ones have been giving the error regarding pygrass and g.region at
>> startup. Could this be the key to my issue?
> Can you provide the code that you are using?
> As I said in grass-dev, at the moment the shortcuts are not working properly.
>  http://lists.osgeo.org/pipermail/grass-dev/2013-April/062894.html
More information about the grass-user