I never tried to parse the HTML myself before, and (assuming a change is the cause of the problem) don't have a copy of the "old" html to compare against, so no, I didn't look at the HTML other than to glance at it and make sure it was a valid Google Maps file.

As far as the errors I'm getting, they are consistently the same no matter what route I try to parse, so I assumed that you would get the exact same error if you tried to parse a route of your own, and would have everything there to do the debugging with. So I skipped the step of copying the errors into the message.

If you're telling me that you created a fresh new route from Google Maps, parsed it, and did NOT get any errors, then that means it's not a change to their HTML and it's something else odd. So, anyway, here are the errors I'm getting:


Traceback (most recent call last):
File "c:\Progra~1\Directions\parse_google.py", line 115, in ?
wpoints = parse(inname)
File "c:\Progra~1\Directions\parse_google.py", line 99, in parse
xml.sax.parseString(content, h)
File "C:\progra~1\activepython\lib\xml\sax\__init__.py", line 49, in parseStri
ng
parser.parse(inpsrc)
File "C:\progra~1\activepython\lib\xml\sax\expatreader.py", line 90, in parse
xmlreader.IncrementalParser.parse(self, source)
File "C:\progra~1\activepython\lib\xml\sax\xmlreader.py", line 125, in parse
self.close()
File "C:\progra~1\activepython\lib\xml\sax\expatreader.py", line 154, in close

self.feed("", isFinal = 1)
File "C:\progra~1\activepython\lib\xml\sax\expatreader.py", line 148, in feed
self._err_handler.fatalError(exc)
File "C:\progra~1\activepython\lib\xml\sax\handler.py", line 38, in fatalError

raise exception
xml.sax._exceptions.SAXParseException: <unknown>:1:0: no element found
_________________________
Tony Fabris