[GRASS-dev] Re: winGRASS 6.4.0RC4 python issue (

Colin Nielsen colin.nielsen at gmail.com
Mon Apr 13 16:13:41 EDT 2009


This isn't the first time this error has come up. Martin Mainzer
emailed me with this error on the last wingrass release, possibly
ticket 234 <http://trac.osgeo.org/grass/ticket/234> as well, and to
the "InterfaceDescription" / g.parser issue we were having with the
python scripts in grass7 may also be related.

Perhaps it is passing some invalid character (ie. non-ascii
<http://lists.osgeo.org/pipermail/grass-user/2008-September/046776.html>?
Perhaps it is not a coincidence that Milena and Martin were both using
other languages? I don't know enough about this to fix it to be
honest. Perhaps someone on grass-dev can help.

I don't think it is a problem with my filepath being held-over
(c:\programs\gis\osgeo4w\) but it could be.

Anyone else have an idea?

-Colin

On Mon, Apr 13, 2009 at 1:48 PM, Markus Neteler <neteler at osgeo.org> wrote:
> Hi Colin,
>
> first test results... some issue apparently but I have no
> clue! Milena is using the Polish locale AFAIK, may that
> matter?
> Colin, can you add a raster layer? If yes, I'll try to ask
> Michael (since Martin is offline).
>
> thanks
> Markus
>
>
> On Mon, Apr 13, 2009 at 6:53 PM, Milena Nowotarska <do.milenki at gmail.com> wrote:
>> I am not able to add a raster layer, this is what RC4 said:
>>
>> Traceback (most recent call last):
>>   File "C:/GRASS/etc/wxpython/wxgui.py", line 1361, in
>> AddRaster
>>
>> self.curr_page.maptree.AddLayer('raster')
>>   File "C:\GRASS\etc\wxpython\gui_modules\wxgui_utils.py",
>> line 776, in AddLayer
>>
>> self.PropertiesDialog(layer, show=True)
>>   File "C:\GRASS\etc\wxpython\gui_modules\wxgui_utils.py",
>> line 839, in PropertiesDialog
>>
>> parentframe=self)
>>   File "C:\GRASS\etc\wxpython\gui_modules\menuform.py", line
>> 1716, in ParseCommand
>>
>> xml.sax.parseString( getInterfaceDescription(cmd[0]),
>> handler )
>>   File "C:\GRASS\etc\wxpython\gui_modules\__init__.py", line
>> 49, in parseString
>>
>>   File "C:\Programs\GIS\OSGeo4W\apps\Python25\lib\xml\sax\ex
>> patreader.py", line 107, in parse
>>   File "C:\Programs\GIS\OSGeo4W\apps\Python25\lib\xml\sax\xm
>> lreader.py", line 123, in parse
>>   File "C:\Programs\GIS\OSGeo4W\apps\Python25\lib\xml\sax\ex
>> patreader.py", line 211, in feed
>>   File "C:\Programs\GIS\OSGeo4W\apps\Python25\lib\xml\sax\ha
>> ndler.py", line 38, in fatalError
>> xml.sax._exceptions
>> .
>> SAXParseException
>> :
>> <unknown>:8:4: not well-formed (invalid token)
>>
>> Milena
>


More information about the grass-dev mailing list