#902: nviz (tcl) fails on wingrass
-----------------------+----------------------------------------------------
  Reporter:  hamish    |       Owner:  [email protected]
      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....@perm, and the '-v' verbose flag is ticked (one -, not
 two).

 the command line in the module output tab is
 {{{
 nviz -v elevation=elevation....@permanent
 }}}

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

 unknown or ambiguous visual name "elevation=elevat...@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>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to