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

GRASS GIS trac at osgeo.org
Tue Feb 9 18:55:07 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 glynn):

 Replying to [comment:19 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 popup window error is:
 {{{
 unknown or ambiguous visual name "elevation=elevation at PERMANENT":
 }}}

 Tk uses -v itself (it's an abbreviation for -visual). This specific issue
 can be worked around by using "--" in the nviz script, i.e.
 {{{
 -exec "$GISBASE/etc/nviz2.2/nviz" -f
 "$GISBASE/etc/nviz2.2/scripts/nviz2.2_script" ${1+"$@"}
 +exec "$GISBASE/etc/nviz2.2/nviz" -f
 "$GISBASE/etc/nviz2.2/scripts/nviz2.2_script" -- ${1+"$@"}
 }}}

 But I'm more inclined to suggest back-porting r40879. I think that's bound
 to be the most robust solution.

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


More information about the grass-dev mailing list