[GRASS-user] wxpython fails to open existing grc

Adam Dershowitz adershowitz at exponent.com
Tue Mar 4 14:06:16 EST 2008


I just upgraded from 6.3 RC 4 to 6.3 RC5 (using William Kyngesburye's  
binaries on a Mac).
Now when I open the wxpython gui, if I try to open an existing .grc  
file it doesn't open and I get the following errors:

Traceback (most recent call last):
   File "/Applications/GRASS-6.3.app/Contents/MacOS/etc/wxpython/ 
wxgui.py", line 524, in OnWorkspaceOpen
     self.LoadGrcXmlToLayerTree(filename)
   File "/Applications/GRASS-6.3.app/Contents/MacOS/etc/wxpython/ 
wxgui.py", line 569, in LoadGrcXmlToLayerTree
     xml.sax.parseString(fileStream, grcXml)
   File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/xml/sax/__init__.py", line 49, in parseString
     parser.parse(inpsrc)
   File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/xml/sax/expatreader.py", line 107, in parse
     xmlreader.IncrementalParser.parse(self, source)
   File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/xml/sax/xmlreader.py", line 123, in parse
     self.feed(buffer)
   File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/xml/sax/expatreader.py", line 211, in feed
     self._err_handler.fatalError(exc)
   File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/xml/sax/handler.py", line 38, in fatalError
     raise exception
xml.sax._exceptions.SAXParseException: <unknown>:1:0: syntax error


This didn't happen with RC4 and doesn't happen with the RC5 when using  
the tcl GUI.

--Adam



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20080304/b0e08775/attachment.html


More information about the grass-user mailing list