Ticket #902 (closed defect: fixed)
nviz (tcl) fails on wingrass
|Reported by:||hamish||Owned by:||grass-dev@…|
even from the MSys command prompt there error is:
GRASS 6.4> nviz --help Sorry <Files/GRASS-64-SNV/etc/nviz2.2/script/nviz2.2_script> is not a valid option Description nviz - Visualization and animation tool for GRASS data. Keywords: ... Usage: ...
If I reset $GISBASE beforehand to get rid of the space, it works:
GRASS 6.4> export GISBASE=/C/PROGRA~1/GRASS-64-SVN
I assume we could hardcode that conversion as part of the GRASS-Installer.nsi (as follows), but it would be good to fix it properly.
;Get the short form of the install path (to allow for paths with spaces) VAR /GLOBAL INST_DIR_SHORT GetFullPathName /SHORT $INST_DIR_SHORT $INSTALL_DIR
also just to note that the nightly build process still is shipping msys/grass70.* files and does not use a copy of msys.bat with all paths "quoted" which causes (non-fatal) errors in the startup.