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

GRASS GIS trac at osgeo.org
Sun Feb 7 21:35:52 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):

 > Fixed (hopefully) in r40835.

 nope.


 trunk:
 {{{
 debian_stable at GRASS7> nviz
 ...
 launches straight into the program, no module options UI.
 }}}


 {{{
 debian_stable at GRASS7> nviz --ui
 sh: /usr/local/src/grass/svn/trunk/dist.x86_64-unknown-linux-
 gnu/etc/nviz2.2/scripts/nviz2.2_script: nviz: bad interpreter: No such
 file or directory
 Traceback (most recent call last):
   File "/usr/local/src/grass/svn/trunk/dist.x86_64-unknown-linux-
 gnu/etc/wxpython/gui_modules/menuform.py", line 2058, in <module>
     GrassGUIApp(grassTask(sys.argv[1])).MainLoop()
   File "/usr/local/src/grass/svn/trunk/dist.x86_64-unknown-linux-
 gnu/etc/wxpython/gui_modules/menuform.py", line 350, in __init__
     processTask(tree =
 etree.fromstring(getInterfaceDescription(grassModule)),
   File "/usr/local/src/grass/svn/trunk/dist.x86_64-unknown-linux-
 gnu/etc/wxpython/gui_modules/menuform.py", line 1858, in
 getInterfaceDescription
     raise IOError, _("Unable to fetch interface description for command
 '%s'.") % cmd
 IOError: Unable to fetch interface description for command
 '/usr/local/src/grass/svn/trunk/dist.x86_64-unknown-linux-
 gnu/etc/nviz2.2/scripts/nviz2.2_script'.
 }}}


 devbr65:
  * 6.5: GRASS_GUI=wxpython
 {{{
 G65> 'nviz' or 'nviz --ui'

 sh: nviz2.2_script: command not found
 Traceback (most recent call last):
   File "/usr/local/src/grass/svn/grass65/dist.x86_64-unknown-linux-
 gnu/etc/wxpython/gui_modules/menuform.py", line 1891, in <module>
     GrassGUIApp( grassTask( sys.argv[1] ) ).MainLoop()
   File "/usr/local/src/grass/svn/grass65/dist.x86_64-unknown-linux-
 gnu/etc/wxpython/gui_modules/menuform.py", line 313, in __init__
     processTask(tree =
 etree.fromstring(getInterfaceDescription(grassModule)),
   File "/usr/local/src/grass/svn/grass65/dist.x86_64-unknown-linux-
 gnu/etc/wxpython/gui_modules/menuform.py", line 1691, in
 getInterfaceDescription
     raise IOError, _("Unable to fetch interface description for command
 '%s'.") % cmd
 IOError: Unable to fetch interface description for command
 'nviz2.2_script'.
 }}}


  * 6.5: GRASS_GUI=tcltk
 {{{
 G65> 'nviz' or 'nviz --ui'
 ...
 nviz2.2_script elevation=elevation.dem
 }}}
 module options UI opens, but fails with red (X) in output tab but no other
 message when you hit [Run].

  * nviz --help:
 {{{
 Usage:
  nviz2.2_script [-qkxv] [elevation=name[,name,...]]
    [color=string[,string,...]] [vector=string[,string,...]]
    [points=string[,string,...]] [volume=string[,string,...]] [path=string]
    [script=string] [state=string] [--verbose] [--quiet]
 }}}


 module name is wrong but options are right.



 Hamish

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


More information about the grass-dev mailing list