I took a look at the way that NVIZ is launched from the wx GUI menu. The menu item calls a script called "nviz" that lives in the $GISDBASE/bin folder.
The script launches nviz. The menu item does indeed call the script and the script launches. But the code in the script doesn't correctly launch the NVIZ module in Windows.
Here is the code. Perhaps someone can ID what is wrong with it.
if [ $# -eq 0 ] ; then
##nviz is opened in GUI
exec "$GISBASE/etc/nviz2.2/nviz" -f "$GISBASE/etc/nviz2.2/scripts/nviz2.2_script"
exit 0
fi
The weird thing is that this DOES seem to work if you launch it from the Msys GRASS terminal in Windows.
Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University
On Sep 16, 2009, at 3:53 PM, Michael Barton wrote:
I took a look at the way that NVIZ is launched from the wx GUI menu. The menu item calls a script called "nviz" that lives in the $GISDBASE/bin folder.
The script launches nviz. The menu item does indeed call the script and the script launches. But the code in the script doesn't correctly launch the NVIZ module in Windows.
Here is the code. Perhaps someone can ID what is wrong with it.
if [ $# -eq 0 ] ; then
##nviz is opened in GUI
exec "$GISBASE/etc/nviz2.2/nviz" -f "$GISBASE/etc/nviz2.2/scripts/nviz2.2_script"
exit 0
fi
The weird thing is that this DOES seem to work if you launch it from the Msys GRASS terminal in Windows.
I can just confirm that nviz reliably works from the MSYS GRASS terminal in MSWindows - we have used
it a lot by now, when run from wxGUI it launches it but the TclTk interface does not open
Helena
Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University
> The weird thing is that this DOES seem to work if you
launch it from the Msys GRASS terminal in Windows.
Helena:
I can just confirm that nviz reliably works from the MSYS
GRASS terminal in MSWindows - we have used
it a lot by now, when run from wxGUI it launches it but the
TclTk interface does not open
from the Cmd> prompt in the wx layer manager it fails.
The weird thing is that this DOES seem to work if you
launch it from the Msys GRASS terminal in Windows.
Helena:
I can just confirm that nviz reliably works from the MSYS
GRASS terminal in MSWindows - we have used
it a lot by now, when run from wxGUI it launches it but the
TclTk interface does not open
from the Cmd> prompt in the wx layer manager it fails.
Probably for the same reason that the code in the nviz script fails--whatever that is.