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

GRASS GIS trac at osgeo.org
Tue Feb 2 17:43:24 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      
Resolution:                |    Keywords:  wingrass                 
  Platform:  MSWindows XP  |         Cpu:  x86-32                   
---------------------------+------------------------------------------------
Comment (by hellik):

 Replying to [ticket:902 hamish]:
 > 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

 i can confirm this on self compiled Wingrass64+65-installers installed in
 C:\Program Files\, even if i use the msys.bat from ticket #629 with all
 paths "quoted".

 but nviz is working if I use the self compiled grass64+65 living in
 c:\osgeo\apps\grass.

 Helmut

 p.s. i've integrated the msys from ticket #629 (with quoted paths) locally
 into GRASS-Installer.nsi for Grass65. should i apply this for testing in
 Grass65svn? I've tested it a little bit locally and it seems to work
 (beside the nviz-issue).

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


More information about the grass-dev mailing list