add the line import email to your script, and you may get around this error. ... and perhaps see the other error I'll post about in a new thread
On Oct 15, 6:11 pm, bvelasquez <[email protected]> wrote: > I get the following error each time I make a change to the code when I > attempt to test it through the Development Console. The link below > the error is the code that I am using to test the new receive email > API. If I stop and restart the development server, the error goes > away. I change one line of code, the error is back. > > http://pastie.org/656315 > > Does anyone know what I'm getting wrong? > > Traceback(most recent call last): > File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ > google/appengine/ext/webapp/__init__.py", line 509, in __call__ > handler.post(*groups) > File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ > google/appengine/ext/webapp/mail_handlers.py", line 58, in post > self.receive(mail.InboundEmailMessage(self.request.body)) > File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ > google/appengine/api/mail.py", line 525, in __init__ > mime_message = _parse_mime_message(mime_message) > File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ > google/appengine/api/mail.py", line 209, in _parse_mime_message > return email.message_from_string(mime_message) > File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ > python2.5/email/__init__.py", line 56, in message_from_string > from email.parser import Parser > SystemError: Parent module 'email' not loaded --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
