[GRASS-dev] [GRASS GIS] #902: nviz (tcl) fails on wingrass

GRASS GIS trac at osgeo.org
Tue Feb 2 02:56:29 EST 2010


#902: nviz (tcl) fails on wingrass
----------------------+-----------------------------------------------------
 Reporter:  hamish    |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect    |      Status:  new                      
 Priority:  critical  |   Milestone:  6.4.0                    
Component:  NVIZ      |     Version:  svn-releasebranch64      
 Keywords:  wingrass  |    Platform:  MSWindows XP             
      Cpu:  x86-32    |  
----------------------+-----------------------------------------------------
 Hi,

 with the latest WinGrass nightly build installer (r40766), installed in
 C:\Program Files\, nviz (tcl) fails to start.

 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.


 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/902>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list