#902: nviz (tcl) fails on wingrass -----------------------+---------------------------------------------------- Reporter: hamish | Owner: grass-dev@lists.osgeo.org Type: defect | Status: new Priority: critical | Milestone: 6.4.0 Component: NVIZ | Version: svn-trunk Resolution: | Keywords: Platform: All | Cpu: All -----------------------+---------------------------------------------------- Comment (by glynn):
Replying to [comment:19 hamish]: > With the latest nightly WinGrass 6.4.0svn build (r40876), I get this error message if 'nviz --ui' is called from the msys command line, elev=elevation....@perm, and the '-v' verbose flag is ticked (one -, not two). > the popup window error is: {{{ unknown or ambiguous visual name "elevation=elevat...@permanent": }}} Tk uses -v itself (it's an abbreviation for -visual). This specific issue can be worked around by using "--" in the nviz script, i.e. {{{ -exec "$GISBASE/etc/nviz2.2/nviz" -f "$GISBASE/etc/nviz2.2/scripts/nviz2.2_script" ${1+"$@"} +exec "$GISBASE/etc/nviz2.2/nviz" -f "$GISBASE/etc/nviz2.2/scripts/nviz2.2_script" -- ${1+"$@"} }}} But I'm more inclined to suggest back-porting r40879. I think that's bound to be the most robust solution. -- Ticket URL: <https://trac.osgeo.org/grass/ticket/902#comment:21> GRASS GIS <http://grass.osgeo.org>
_______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev