I noticed this error in my logs which appears to happen when I'm running a particularly heavy SDB report:
db = sdb.get_domain(db_name)
File "/usr/local/boto/boto/sdb/connection.py", line 260, in get_domain
self.select(domain, """select * from `%s` limit 1""" % domain_name)
File "/usr/local/boto/boto/sdb/connection.py", line 614, in select
parent=domain)
File "/usr/local/boto/boto/connection.py", line 891, in get_list
xml.sax.parseString(body, h)
File "/usr/lib64/python2.6/xml/sax/__init__.py", line 49, in parseString
parser.parse(inpsrc)
File "/usr/lib64/python2.6/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib64/python2.6/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib64/python2.6/xml/sax/expatreader.py", line 211, in feed
self._err_handler.fatalError(exc)
File "/usr/lib64/python2.6/xml/sax/handler.py", line 38, in fatalError
raise exception
xml.sax._exceptions.SAXParseException: <unknown>:2:2970: mismatched tag
Has anyone seen this type of error before? I know for a fact that this call works 99% of the time, but every once in a while I get this which seems to indicate an intermittent error on Amazon's side. Is there any way we can handle this in boto?
--
Chris Moyer