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

GRASS GIS trac at osgeo.org
Tue Feb 9 08:21: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-trunk                
Resolution:            |    Keywords:                           
  Platform:  All       |         Cpu:  All                      
-----------------------+----------------------------------------------------
Comment (by 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.dem at PERM, and the '-v' verbose flag is ticked (one -, not
 two).

 the command line in the module output tab is
 {{{
 nviz -v elevation=elevation.dem at PERMANENT
 }}}

 the popup window error is:
 {{{
 __Application initialization failed__

 unknown or ambiguous visual name "elevation=elevation at PERMANENT": class
 must be best, directcolor, grayscale, greyscale, pseudocolor, staticcolor,
 staicgray, staticgrey, truecolor, or default
   [Ok]
 }}}

 then when you press [Ok]:
 {{{
 __Error in startup script__

 can't read "src_boot": no such variable
   while executing
 "source $src_boot/etc/nviz2.2/scripts/config.tcl"
   (file "c:/Program Files/GRASS-64-SVN\etc\nviz2.2\scripts\nviz2.2_script"
 line 42)
    [Ok]
 }}}

 same if you use -v from the msys prompt.

 If you make "-v" the last arg on the command line you get this error:
 {{{
 __Application initialization failed__

 "-v" option requires an additional arguement
   [Ok]
 }}}


 This is the same error message you get if you do:
 {{{
 wish -v
 }}}


 I'd be inclined to make that -v in nviz a no-op, but I don't think it
 would help in this case.



 Hamish

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


More information about the grass-dev mailing list