[GRASS-dev] Re: [GRASS GIS] #580: WinGRASS:
$GISBASE/etc/gui/scripts/ require something like $(EXE) to run
GRASS GIS
trac at osgeo.org
Sun Aug 9 02:44:25 EDT 2009
#580: WinGRASS: $GISBASE/etc/gui/scripts/ require something like $(EXE) to run
---------------------------+------------------------------------------------
Reporter: hamish | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: blocker | Milestone: 6.4.0
Component: wxGUI | Version: 6.4.0 RCs
Resolution: | Keywords: wingrass
Platform: MSWindows XP | Cpu: Unspecified
---------------------------+------------------------------------------------
Comment (by hamish):
This still doesn't work for v.type_wrapper.py and g.change.gui.py using
latest native WinGrass installer (Colin's 6.4.0.svn r38537 2009-07-29).
wxGUI `Vector -> Develop -> Convert object types` menu item gives a
windows dialog:
{{{
Windows cannot open this file:
File: v.type_wrapper.py
To open this file, Windows needs to know what program created it. ...
[*] Use the web service to find the approp prog
[ ] Select the program from a list
[ok] [cancel]
}}}
and if you press cancel the wxGui layer manager output tab comes back with
a Traceback error ending in
{{{
...
IOError
:
Unable to fetch interface description for command
'v.type_wrapper.py'.
}}}
`echo $PATHEXT` in the associated Msys terminal ends in ';.PY',
so at least that part of lib/init/init.bat or init.sh is getting run.
neither $PATH nor $PYTHONPATH includes $GISBASE/etc/gui/scripts/
see this trac ticket log for some sys.path.append(guiscriptspath) ideas.
also I'd note that NVIZ still doesn't start from the wxGUI:
`File -> NVIZ (req tcltk)` brings up the NVIZ launch dialog and lets you
select a map but when you hit [Run] it just returns after 0sec. Same if
you try from the wxGui Cmd> prompt. But if you type 'nviz -q' at the
associated Msys terminal it brings it up ok.
??
Hamish
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/580#comment:3>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list