Cannot parse XML on Windows

40 views
Skip to first unread message

Michael

unread,
Apr 15, 2008, 1:52:28 AM4/15/08
to Google App Engine
I'm unable to parse XML using minidom on Windows. Here's the setup:

1) Just downloaded the latest app engine: 1.0.1
2) Running Python 2.5.2; no add-ons
3) When I run Python in interactive mode, I can execute these 2
commands with no problem:

from xml.dom.minidom import parseString
parseString("<test></test>")

4) If I cut-and-paste these 2 lines into an app engine script, I get
an exception:

File "C:\Python25\lib\xml\parsers\expat.py", line 4, in <module>
from pyexpat import *
ImportError: No module named pyexpat

I've seen others having XML problems on Windows. Any workarounds?
I'll keep hacking away and post any fixes that I find...

-Michael

ma...@google.com

unread,
Apr 15, 2008, 8:38:00 PM4/15/08
to Google App Engine
Hi Michael,
I filed a bug for the root cause of this issue:
http://code.google.com/p/googleappengine/issues/detail?id=222

The SDK for windows is having issues import .pyd files

Our engineering team is looking in to this, and we apologize for any
inconvenience.

-Marzia

Joel Odom

unread,
May 7, 2008, 8:21:01 AM5/7/08
to Google App Engine
Same problem here. Any work-around would be appreciated.
Reply all
Reply to author
Forward
0 new messages