[GRASS-dev] [GRASS GIS] #553: wx and tcltk GUI: changing default GUI returns error

GRASS GIS trac at osgeo.org
Thu Apr 16 00:20:58 EDT 2009


#553: wx and tcltk GUI: changing default GUI returns error
-------------------------+--------------------------------------------------
 Reporter:  hamish       |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect       |      Status:  new                      
 Priority:  major        |   Milestone:  6.4.0                    
Component:  Python       |     Version:  6.4.0 RCs                
 Keywords:  wxgui gis.m  |    Platform:  MSWindows XP             
      Cpu:  x86-32       |  
-------------------------+--------------------------------------------------
 Hi,

 working with latest 6.4.0svn WinGrass from the osgeo4w installer.


 1. Start up the wxGui in spearfish/user1.

 In the Layer Manager GUI:
 Config -> GRASS Working Environment -> Change default GUI

 nothing happens, only this appears in the output window:

 {{{
 Traceback (most recent call last):
   File "C:/OSGeo4W/apps/grass/grass-6.4.0svn/etc/wxpython/wx
 gui.py", line 515, in OnMenuCmd

 menuform.GUI().ParseCommand(cmd, parentframe=self)
   File "C:\OSGeo4W\apps\grass\grass-6.4.0svn\etc\wxpython\gu
 i_modules\menuform.py", line 1716, in ParseCommand

 xml.sax.parseString( getInterfaceDescription(cmd[0]),
 handler )
   File "C:\OSGeo4W\apps\grass\grass-6.4.0svn\etc\wxpython\gu
 i_modules\menuform.py", line 1657, in
 getInterfaceDescription

 raise IOError, _("Unable to fetch interface description for
 command '%s'.") % cmd
 IOError
 :
 Unable to fetch interface description for command
 'g.change.gui.py'.
 }}}


 2. startup the tcltk gui with "grass64 -tcltk" from the OSGeo4W shell
 prompt.

 In the GIS manager do
  Config -> GRASS Working Environment -> Change default GUI

 a tcltk popup Error window comes up which says:
 {{{
 couldn't execute
 "C:\OSFeo4W\apps\grass\grass-6.4.0svn\etc\gui\scripts\g.change.gui.sh":
  no such file or directory  [OK]
 }}}

 after you press OK an empty wish gui is there titled "dialog0".

 the file is in fact there. (it's a bash script)


 ??,
 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/553>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list