Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#146 SAXParseException: not well-formed (invalid token)

Official Release
closed
nobody
5
2012-10-24
2010-06-13
martin
No

Cannot generate code, get the following traceback:

Traceback (most recent call last):
File "/usr/share/wxGlade/application.py", line 447, in generate_code
class_names=class_names)
File "/usr/share/wxGlade/xml_parse.py", line 527, in init
if from_string: self.parse_string(input)
File "/usr/share/wxGlade/xml_parse.py", line 74, in parse_string
self.parser.parse(source)
File "/usr/lib/python2.6/site-packages/_xmlplus/sax/expatreader.py", line 109, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python2.6/site-packages/_xmlplus/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib/python2.6/site-packages/_xmlplus/sax/expatreader.py", line 220, in feed
self._err_handler.fatalError(exc)
File "/usr/lib/python2.6/site-packages/_xmlplus/sax/handler.py", line 38, in fatalError
raise exception
SAXParseException: <unknown>:1:1: not well-formed (invalid token)

Version HG on py 2.6.4 and wxpy 2.8.10.1

Discussion

  • martin
    martin
    2010-06-13

    wx file occasioning error

     
    Attachments
  • martin
    martin
    2010-06-13

    Installed Packages
    expat.i686 2.0.1-10.fc13

    so it might have something to do with the upgrade of expat from 1.05 (?) to 2.0.1

     
  • Hello, can you try with the latest version of wxGlade on bitbucket?
    (http://bitbucket.org/agriggio/wxglade)
    That should work...

     
  • Close this bug because it works with the current development version.

    Thank you for reporting this bug.
    Carsten