[GRASS-user] Fwd: my first script

Giuliano Urgeghe giuliano.u at gmail.com
Wed Oct 15 02:40:05 PDT 2014


"Ad ogni giorno la sua pena"

Today in launching grass 7.0 beta1 or beta3   in windows 7 professional in
office:


Cleaning up temporary files...
Starting GRASS GIS...
ERROR: Location <demolocation> not found
ATTENZIONE: Il locking concorrente del mapset non è supportato in Windows.

          __________  ___   __________    _______________
         / ____/ __ \/   | / ___/ ___/   / ____/  _/ ___/
        / / __/ /_/ / /| | \__ \\_  \   / / __ / / \__ \
       / /_/ / _, _/ ___ |___/ /__/ /  / /_/ // / ___/ /
       \____/_/ |_/_/  |_/____/____/   \____/___//____/

Welcome to GRASS 7.0.0beta3
GRASS homepage:                          http://grass.osgeo.org
This version running through:            Bourne Shell (C:\Program Files
(x86)\G
ASS GIS 7.0.0beta3\msys\bin\sh.exe)
Help is available with the command:      g.manual -i
See the licence terms with:              g.version -c
If required, restart the GUI with:       g.gui wxpython
When ready to quit enter:                exit

Launching <wxpython> GUI in the background, please wait...
GRASS 7.0.0beta3> Traceback (most recent call last):
  File "C:\Program Files (x86)\GRASS GIS 7.0.0beta3\gui\wxpython\wxgui.py",
lin
 138, in <module>
    sys.exit(main())
  File "C:\Program Files (x86)\GRASS GIS 7.0.0beta3\gui\wxpython\wxgui.py",
lin
 131, in main
    app = GMApp(workspaceFile)
  File "C:\Program Files (x86)\GRASS GIS 7.0.0beta3\gui\wxpython\wxgui.py",
lin
 45, in __init__
    wx.App.__init__(self, False)
  File "C:\Program Files (x86)\GRASS GIS
7.0.0beta3\Python27\lib\site-packages\
x-2.8-msw-unicode\wx\_core.py", line 7981, in __init__
    self._BootstrapApp()
  File "C:\Program Files (x86)\GRASS GIS
7.0.0beta3\Python27\lib\site-packages\
x-2.8-msw-unicode\wx\_core.py", line 7555, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "C:\Program Files (x86)\GRASS GIS 7.0.0beta3\gui\wxpython\wxgui.py",
lin
 79, in OnInit
    workspace = self.workspaceFile)
  File "C:\Program Files (x86)\GRASS GIS
7.0.0beta3\gui\wxpython\lmgr\frame.py"
 line 221, in __init__
    self.NewDisplay(show = False)
  File "C:\Program Files (x86)\GRASS GIS
7.0.0beta3\gui\wxpython\lmgr\frame.py"
 line 1717, in NewDisplay
    showMapDisplay = show)
  File "C:\Program Files (x86)\GRASS GIS
7.0.0beta3\gui\wxpython\lmgr\layertree
py", line 176, in __init__
    Map = self.Map)
  File "C:\Program Files (x86)\GRASS GIS
7.0.0beta3\gui\wxpython\mapdisp\frame.
y", line 153, in __init__
    self.statusbarManager.Update()
  File "C:\Program Files (x86)\GRASS GIS
7.0.0beta3\gui\wxpython\mapdisp\status
ar.py", line 227, in Update
    item.Update() # mask, render
  File "C:\Program Files (x86)\GRASS GIS
7.0.0beta3\gui\wxpython\mapdisp\status
ar.py", line 810, in Update
    mapset = grass.gisenv()['MAPSET'])['name']:
KeyError: 'name'



the same mapset is correctly opened with grass6.4.2

Bye
Giuliano


2014-10-15 8:04 GMT+02:00 Markus Neteler <neteler at osgeo.org>:

> ....
>
> It seems that v.in.mapgen (a script) is not properly called by
> v.in.lines (also a script) on Windows.
>
> > how do I make a list of points (x, y) in a polyline if v.in.lines is ko!
>
> Consider to use GRASS 7 where these script issues on Windows have been
> resolved.
>
> Markus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20141015/e9cd3df0/attachment-0001.html>


More information about the grass-user mailing list