--> --> -->
 
 
<type 'exceptions.ImportError'>
Python 2.5.2: C:\Python25\python.exe
Wed Apr 23 10:29:21 2008

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 C:\Archivos de programa\Google\google_appengine\google\appengine\tools\dev_appserver.py in _HandleRequest(self=<google.appengine.tools.dev_appserver.DevAppServerRequestHandler instance at 0x01B41030>)
 2243                               infile,
 2244                               outfile,
 2245                               base_env_dict=env_dict)
 2246         finally:
 2247           self.module_manager.UpdateModuleFileModificationTimes()
base_env_dict undefined, env_dict = {'REMOTE_ADDR': '127.0.0.1', 'REQUEST_METHOD': 'GET', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '8080', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'Development/1.0'}
 C:\Archivos de programa\Google\google_appengine\google\appengine\tools\dev_appserver.py in Dispatch(self=<google.appengine.tools.dev_appserver.MatcherDispatcher object at 0x01BC9CD0>, relative_url='/', path=None, headers=<mimetools.Message instance at 0x01B36BE8>, infile=<cStringIO.StringI object at 0x01414DD0>, outfile=<cStringIO.StringO object at 0x01666840>, base_env_dict={'REMOTE_ADDR': '127.0.0.1', 'REQUEST_METHOD': 'GET', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '8080', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'Development/1.0'})
  332                             infile,
  333                             outfile,
  334                             base_env_dict=base_env_dict)
  335 
  336       return
base_env_dict = {'REMOTE_ADDR': '127.0.0.1', 'REQUEST_METHOD': 'GET', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '8080', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'Development/1.0'}
 C:\Archivos de programa\Google\google_appengine\google\appengine\tools\dev_appserver.py in Dispatch(self=<google.appengine.tools.dev_appserver.CGIDispatcher object at 0x01D70370>, relative_url='/', path='contact1.py', headers=<mimetools.Message instance at 0x01B36BE8>, infile=<cStringIO.StringI object at 0x01414DD0>, outfile=<cStringIO.StringO object at 0x01666840>, base_env_dict={'REMOTE_ADDR': '127.0.0.1', 'REQUEST_METHOD': 'GET', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '8080', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'Development/1.0'})
 1741                      infile,
 1742                      outfile,
 1743                      self._module_dict)
 1744       handler.AddDebuggingConsole(relative_url, env, outfile)
 1745     finally:
self = <google.appengine.tools.dev_appserver.CGIDispatcher object at 0x01D70370>, self._module_dict = {'codecs': <module 'codecs' from 'C:\Python25\lib\codecs.pyc'>, 'encodings': <module 'encodings' from 'C:\Python25\lib\encodings\__init__.pyc'>, 'encodings.aliases': <module 'encodings.aliases' from 'C:\Python25\lib\encodings\aliases.pyc'>, 'encodings.ascii': <module 'encodings.ascii' from 'C:\Python25\lib\encodings\ascii.pyc'>, 'encodings.cp1252': <module 'encodings.cp1252' from 'C:\Python25\lib\encodings\cp1252.pyc'>, 'google': <module 'google' from 'C:\Archivos de programa\Google\google_appengine\google\__init__.pyc'>, 'google.appengine': <module 'google.appengine' from 'C:\Archivos de ...\google_appengine\google\appengine\__init__.pyc'>, 'google.appengine.api': <module 'google.appengine.api' from 'C:\Archivos...gle_appengine\google\appengine\api\__init__.pyc'>, 'google.appengine.api.api_base_pb': <module 'google.appengine.api.api_base_pb' from ..._appengine\google\appengine\api\api_base_pb.pyc'>, 'google.appengine.api.apiproxy_stub_map': <module 'google.appengine.api.apiproxy_stub_map'...gine\google\appengine\api\apiproxy_stub_map.pyc'>, ...}
 C:\Archivos de programa\Google\google_appengine\google\appengine\tools\dev_appserver.py in ExecuteCGI(root_path=r'E:\SuperSoftware\General\Proyects\Custom\monkeycontact\contact1', handler_path='contact1.py', cgi_path=r'E:\SuperSoftware\General\Proyects\Custom\monkeycontact\contact1\contact1.py', env={'AUTH_DOMAIN': 'gmail.com', 'CONTENT_LENGTH': '', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'es-ar,es;q=0.8,en-us;q=0.5,en;q=0.3', 'HTTP_CACHE_CONTROL': 'max-age=0', 'HTTP_CONNECTION': 'keep-alive', ...}, infile=<cStringIO.StringI object at 0x01414DD0>, outfile=<cStringIO.StringO object at 0x01666840>, module_dict={'codecs': <module 'codecs' from 'C:\Python25\lib\codecs.pyc'>, 'encodings': <module 'encodings' from 'C:\Python25\lib\encodings\__init__.pyc'>, 'encodings.aliases': <module 'encodings.aliases' from 'C:\Python25\lib\encodings\aliases.pyc'>, 'encodings.ascii': <module 'encodings.ascii' from 'C:\Python25\lib\encodings\ascii.pyc'>, 'encodings.cp1252': <module 'encodings.cp1252' from 'C:\Python25\lib\encodings\cp1252.pyc'>, 'google': <module 'google' from 'C:\Archivos de programa\Google\google_appengine\google\__init__.pyc'>, 'google.appengine': <module 'google.appengine' from 'C:\Archivos de ...\google_appengine\google\appengine\__init__.pyc'>, 'google.appengine.api': <module 'google.appengine.api' from 'C:\Archivos...gle_appengine\google\appengine\api\__init__.pyc'>, 'google.appengine.api.api_base_pb': <module 'google.appengine.api.api_base_pb' from ..._appengine\google\appengine\api\api_base_pb.pyc'>, 'google.appengine.api.apiproxy_stub_map': <module 'google.appengine.api.apiproxy_stub_map'...gine\google\appengine\api\apiproxy_stub_map.pyc'>, ...}, exec_script=<function ExecuteOrImportScript at 0x015C8F70>)
 1652     logging.debug('Executing CGI with env:\n%s', pprint.pformat(env))
 1653     try:
 1654       reset_modules = exec_script(handler_path, cgi_path, hook)
 1655     except SystemExit, e:
 1656       logging.debug('CGI exited with status: %s', e)
reset_modules = True, exec_script = <function ExecuteOrImportScript at 0x015C8F70>, handler_path = 'contact1.py', cgi_path = r'E:\SuperSoftware\General\Proyects\Custom\monkeycontact\contact1\contact1.py', hook = <google.appengine.tools.dev_appserver.HardenedModulesHook object at 0x0167D350>
 C:\Archivos de programa\Google\google_appengine\google\appengine\tools\dev_appserver.py in ExecuteOrImportScript(handler_path='contact1.py', cgi_path=r'E:\SuperSoftware\General\Proyects\Custom\monkeycontact\contact1\contact1.py', import_hook=<google.appengine.tools.dev_appserver.HardenedModulesHook object at 0x0167D350>)
 1553   try:
 1554     if module_code:
 1555       exec module_code in script_module.__dict__
 1556     else:
 1557       script_module.main()
module_code = <code object <module> at 01450968, file "E:\Supe...stom\monkeycontact\contact1\contact1.py", line 1>, script_module = <module 'contact1' from 'E:\SuperSoftware\Genera...yects\Custom\monkeycontact\contact1\contact1.py'>, script_module.__dict__ = {'MainPage': <class __main__.MainPage at 0x01DE0510>, '__builtins__': {'ArithmeticError': <type 'exceptions.ArithmeticError'>, 'AssertionError': <type 'exceptions.AssertionError'>, 'AttributeError': <type 'exceptions.AttributeError'>, 'BaseException': <type 'exceptions.BaseException'>, 'DeprecationWarning': <type 'exceptions.DeprecationWarning'>, 'EOFError': <type 'exceptions.EOFError'>, 'Ellipsis': Ellipsis, 'EnvironmentError': <type 'exceptions.EnvironmentError'>, 'Exception': <type 'exceptions.Exception'>, 'False': False, ...}, '__doc__': None, '__file__': r'E:\SuperSoftware\General\Proyects\Custom\monkeycontact\contact1\contact1.py', '__loader__': <google.appengine.tools.dev_appserver.HardenedModulesHook object at 0x0167D350>, '__name__': 'contact1', 'gdata': <module 'gdata' from 'C:\Python25\lib\gdata\__init__.pyc'>, 'main': <function main at 0x01DCDC70>}
 E:\SuperSoftware\General\Proyects\Custom\monkeycontact\contact1\contact1.py in ()
   24   sample.get()
   25 
   26 
   27 if __name__ == "__main__":
   28   main()
main = <function main at 0x01DCDC70>
 E:\SuperSoftware\General\Proyects\Custom\monkeycontact\contact1\contact1.py in main()
   22 def main():
   23   sample = MainPage()
   24   sample.get()
   25 
   26 
sample = <__main__.MainPage instance at 0x01672698>, sample.get = <bound method MainPage.get of <__main__.MainPage instance at 0x01672698>>
 E:\SuperSoftware\General\Proyects\Custom\monkeycontact\contact1\contact1.py in get(self=<__main__.MainPage instance at 0x01672698>)
   13                 
   14                 # Query the server for an Atom feed containing a list of your documents.
   15                 documents_feed = client.GetContactsFeed()
   16                 # Loop through the feed and extract each document entry.
   17                 for document_entry in documents_feed.entry:
documents_feed undefined, client = <gdata.contacts.service.ContactsService object at 0x015D66D0>, client.GetContactsFeed = <bound method ContactsService.GetContactsFeed of...ts.service.ContactsService object at 0x015D66D0>>
 C:\Python25\lib\gdata\contacts\service.py in GetContactsFeed(self=<gdata.contacts.service.ContactsService object at 0x015D66D0>, uri='http://www.google.com/m8/feeds/contacts/default/base')
   53   def GetContactsFeed(self, 
   54       uri='http://www.google.com/m8/feeds/contacts/default/base'):
   55     return self.Get(uri, converter=gdata.contacts.ContactsFeedFromString)
   56 
   57   def CreateContact(self, new_contact, 
self = <gdata.contacts.service.ContactsService object at 0x015D66D0>, self.Get = <bound method ContactsService.Get of <gdata.contacts.service.ContactsService object at 0x015D66D0>>, uri = 'http://www.google.com/m8/feeds/contacts/default/base', converter undefined, global gdata = <module 'gdata' from 'C:\Python25\lib\gdata\__init__.pyc'>, gdata.contacts = <module 'gdata.contacts' from 'C:\Python25\lib\gdata\contacts\__init__.pyc'>, gdata.contacts.ContactsFeedFromString = <function ContactsFeedFromString at 0x01E548B0>
 C:\Python25\lib\gdata\service.py in Get(self=<gdata.contacts.service.ContactsService object at 0x015D66D0>, uri='http://www.google.com/m8/feeds/contacts/default/base', extra_headers={'Authorization': 'GoogleLogin auth=DQAAAIoAAAAc03Sf1idg3w-ha2HC2K3...chT-7JwrP_8UXvnsGenJd9sjZq8p4c0RY6QzjxrbieLYo9WjY'}, redirects_remaining=4, encoding='UTF-8', converter=<function ContactsFeedFromString at 0x01E548B0>)
  482     if server_response.status == 200:
  483       if converter:
  484         return converter(result_body)
  485       # There was no ResultsTransformer specified, so try to convert the
  486       # server's response into a GDataFeed.
converter = <function ContactsFeedFromString at 0x01E548B0>, result_body = "<?xml version='1.0' encoding='UTF-8'?><feed xmln...port@godaddy.com' primary='true'/></entry></feed>"
 C:\Python25\lib\gdata\contacts\__init__.py in ContactsFeedFromString(xml_string="<?xml version='1.0' encoding='UTF-8'?><feed xmln...port@godaddy.com' primary='true'/></entry></feed>")
  254                              extension_attributes=extension_attributes,
  255                              text=text)
  256                              
  257 def ContactsFeedFromString(xml_string):
  258   return atom.CreateClassFromXMLString(ContactsFeed, xml_string)
global atom = <module 'atom' from 'C:\Python25\lib\atom\__init__.pyc'>, atom.CreateClassFromXMLString = <function CreateClassFromXMLString at 0x01CAC570>, global ContactsFeed = <class 'gdata.contacts.ContactsFeed'>, xml_string = "<?xml version='1.0' encoding='UTF-8'?><feed xmln...port@godaddy.com' primary='true'/></entry></feed>"
 C:\Python25\lib\atom\__init__.py in CreateClassFromXMLString(target_class=<class 'gdata.contacts.ContactsFeed'>, xml_string="<?xml version='1.0' encoding='UTF-8'?><feed xmln...port@godaddy.com' primary='true'/></entry></feed>", string_encoding=None)
   93   if encoding and isinstance(xml_string, unicode):
   94     xml_string = xml_string.encode(encoding)
   95   tree = ElementTree.fromstring(xml_string)
   96   return _CreateClassFromElementTree(target_class, tree)
   97 
tree undefined, global ElementTree = <module 'xml.etree.ElementTree' from 'C:\Python25\lib\xml\etree\ElementTree.pyc'>, ElementTree.fromstring = <function XML at 0x01E4DDF0>, xml_string = "<?xml version='1.0' encoding='UTF-8'?><feed xmln...port@godaddy.com' primary='true'/></entry></feed>"
 C:\Python25\lib\xml\etree\ElementTree.py in XML(text="<?xml version='1.0' encoding='UTF-8'?><feed xmln...port@godaddy.com' primary='true'/></entry></feed>")
  960 
  961 def XML(text):
  962     parser = XMLTreeBuilder()
  963     parser.feed(text)
  964     return parser.close()
parser undefined, global XMLTreeBuilder = <class xml.etree.ElementTree.XMLTreeBuilder at 0x01E4B570>
 C:\Python25\lib\xml\etree\ElementTree.py in __init__(self=<xml.etree.ElementTree.XMLTreeBuilder instance at 0x01DCBB98>, html=0, target=None)
 1116         except ImportError:
 1117             raise ImportError(
 1118                 "No module named expat; use SimpleXMLTreeBuilder instead"
 1119                 )
 1120         self._parser = parser = expat.ParserCreate(None, "}")

<type 'exceptions.ImportError'>: No module named expat; use SimpleXMLTreeBuilder instead
      args = ('No module named expat; use SimpleXMLTreeBuilder instead',)
      message = 'No module named expat; use SimpleXMLTreeBuilder instead'