[GRASS-user] No wxGUI for r.colors.stddev in winGRASS

Luigi Ponti lponti at inbox.com
Thu Jun 10 05:54:39 EDT 2010


Hello,

Just would like to mention that trying to run (windows 7) 
r.colors.stddev from wxpython GUI either by typing the command name with 
no args or using the raster menu, fails to start the module's GUI. The 
problem seems that the OS thinks .stddev is a file extension -- a 
message pops up saying windows is unable to find a suitable program to 
open r.colors.stddev. On the other hand, trying to associate .stddev 
with msys sh.exe fails anyway, with the following error:

    Traceback (most recent call last):
      File "C:/Program
    Files/GRASS-64-SVN/etc/wxpython/wxgui.py", line 473, in
    OnRunCmd

    self.goutput.RunCmd(cmd, switchPage=False)
      File "C:\Program
    Files\GRASS-64-SVN\etc\wxpython\gui_modules\goutput.py",
    line 354, in RunCmd

    menuform.GUI().ParseCommand(cmdlist, parentframe=self)
      File "C:\Program
    Files\GRASS-64-SVN\etc\wxpython\gui_modules\menuform.py",
    line 1852, in ParseCommand

    xml.sax.parseString(getInterfaceDescription(cmd[0]).decode(e
    nc).split('\n',1)[1].replace('', '<?xml version="1.0"
    encoding="utf-8"?>\n', 1).encode("utf-8"),
      File "C:\Program
    Files\GRASS-64-SVN\etc\wxpython\gui_modules\menuform.py",
    line 1791, in getInterfaceDescription

    raise IOError, _("Unable to fetch interface description for
    command '%s'.") % cmd
    IOError
    :
    Unable to fetch interface description for command
    'r.colors.stddev'.

(Then the process of un-associate file extensions is at best tedious.)

The r.colors.stddev.bat file seems OK. Using the TclTk GUI, the GUI 
interface for r.colors.stddev works fine.

Has anybody experienced this already?

Kind regards,

Luigi


More information about the grass-user mailing list