[GRASS-dev] [GRASS GIS] #1380: GRASS6.4.1 WX-Python GUI, menu does not work at all

GRASS GIS trac at osgeo.org
Thu Jun 2 01:08:49 EDT 2011


#1380: GRASS6.4.1 WX-Python GUI, menu does not work at all
----------------------------+-----------------------------------------------
 Reporter:  naokiueda       |       Owner:  grass-dev@…              
     Type:  defect          |      Status:  new                      
 Priority:  blocker         |   Milestone:  6.4.2                    
Component:  wxGUI           |     Version:  6.4.1 RCs                
 Keywords:  WX Python Menu  |    Platform:  MSWindows 7              
      Cpu:  Unspecified     |  
----------------------------+-----------------------------------------------
 I downloaded latest GRASS6.4.1 and tested.

 I tested WX-Python GUI.
 Windows7, Japanese environment.

 Most Menu and commands does not work at all.
 TckTk GUI forks fine, though.

 There are error messages shown in command console.

 Unless this is solved, WX-Python GUI is useless.

 Note that, this may be same problem as OSGEO4W Track ticket#228 by
 Mr.Hayashi.

 Regards,
 Nao

 --------------------------------------------


 Error when I put [Add Raster Map] button.
 -----------------
 Traceback (most recent call last):
   File "C:/Program Files/GRASS 6.4.1/etc/wxpython/wxgui.py",
 line 1180, in OnAddRaster

 self.curr_page.maptree.AddLayer('raster')
   File "c:/osgeo4w/usr/src/grass641_release/dist.i686-pc-
 mingw32/etc/wxpython/gui_modules/layertree.py", line 821, in
 AddLayer
   File "c:/osgeo4w/usr/src/grass641_release/dist.i686-pc-
 mingw32/etc/wxpython/gui_modules/layertree.py", line 882, in
 PropertiesDialog
   File "c:/osgeo4w/usr/src/grass641_release/dist.i686-pc-
 mingw32/etc/wxpython/gui_modules/menuform.py", line 2049, in
 ParseCommand
   File "c:/osgeo4w/usr/src/grass641_release/dist.i686-pc-
 mingw32/etc/wxpython/gui_modules/menuform.py", line 2020, in
 ParseInterface
   File
 "c:\OSGeo4W\apps\Python25\lib\xml\etree\ElementTree.py",
 line 963, in XML

 parser.feed(text)
   File
 "c:\OSGeo4W\apps\Python25\lib\xml\etree\ElementTree.py",
 line 1245, in feed

 self._parser.Parse(data, 0)
 xml.parsers.expat
 .
 ExpatError
 :
 unknown encoding: line 1, column 30



 Error when I put [Add 3D vector Map] button
 --------------------------------------------------
 Traceback (most recent call last):
   File "C:/Program Files/GRASS 6.4.1/etc/wxpython/wxgui.py",
 line 1307, in OnAddRaster3D

 self.curr_page.maptree.AddLayer('3d-raster')
   File "c:/osgeo4w/usr/src/grass641_release/dist.i686-pc-
 mingw32/etc/wxpython/gui_modules/layertree.py", line 821, in
 AddLayer
   File "c:/osgeo4w/usr/src/grass641_release/dist.i686-pc-
 mingw32/etc/wxpython/gui_modules/layertree.py", line 886, in
 PropertiesDialog
   File "c:/osgeo4w/usr/src/grass641_release/dist.i686-pc-
 mingw32/etc/wxpython/gui_modules/menuform.py", line 2049, in
 ParseCommand
   File "c:/osgeo4w/usr/src/grass641_release/dist.i686-pc-
 mingw32/etc/wxpython/gui_modules/menuform.py", line 2020, in
 ParseInterface
   File
 "c:\OSGeo4W\apps\Python25\lib\xml\etree\ElementTree.py",
 line 964, in XML

 return parser.close()
   File
 "c:\OSGeo4W\apps\Python25\lib\xml\etree\ElementTree.py",
 line 1254, in close

 self._parser.Parse("", 1) # end of data
 xml.parsers.expat
 .
 ExpatError
 :
 no element found: line 1, column 0




 Error when I enter "g.version" in command console
 ---------------------------------
 parser.feed(text)
   File
 "c:\OSGeo4W\apps\Python25\lib\xml\etree\ElementTree.py",
 line 1245, in feed

 self._parser.Parse(data, 0)
 xml.parsers.expat
 .
 ExpatError
 :
 unknown encoding: line 1, column 30

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



More information about the grass-dev mailing list