[GRASS-dev] Re: nviz won't launch from wx GUI menu in WinGRASS
Helena Mitasova
hmitaso at unity.ncsu.edu
Wed Sep 16 16:48:39 EDT 2009
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
>
> exec "$GISBASE/etc/nviz2.2/nviz" -f "$GISBASE/etc/nviz2.2/scripts/
> nviz2.2_script" ${1+"$@"}
>
> 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
>
> Phone: 480-965-6262
> Fax: 480-965-7671
> www: www.public.asu.edu/~cmbarton, http://csdc.asu.edu
>
>
>
>
>
>
>
More information about the grass-dev
mailing list