There are some important updates need for having the SDK 1.0.2 and GData API 1.0.13 properly working.
- Configure the GData libraries:
In this task list I´m considering that your google appengine installation path is:
C:\Program Files\Google\google_appengine\. Please adjust this piece of information if it does not match with your location. - Download the latest gdata-python-client file and uncompress its content in a temporary folder
- Copy the entire src folder to C:\Program Files\Google\google_appengine\lib folder
- Rename the src folder to gdata-python-client
- Edit the urlfetch.py file located at:
C:\Arquivos de programas\Google\google_appengine\lib\gdata-python-client\gdata\urlfetch.py - replace line 153 content from
return self.headers[name]
to
return self.headers[name.lower()] - Replace your C:\Arquivos de programas\Google\google_appengine\google\appengine\api\urlfetch_stub.py by this file hacked urlfetch_stub.py file according to the AppDevEngine Issue 341
- Edit the root dev_appserver.py located at
C:\Program Files\Google\google_appengine\dev_appserver.py - Add a new line after line 43 with the following content:
os.path.join(DIR_PATH, ‘lib’, ‘gdata-python-client’),The complete block must look like this:EXTRA_PATHS = [
DIR_PATH,
os.path.join(DIR_PATH, 'lib', 'django'),
os.path.join(DIR_PATH, 'lib', 'webob'),
os.path.join(DIR_PATH, 'lib', 'gdata-python-client'),
os.path.join(DIR_PATH, 'lib', 'yaml', 'lib'),
] - save and close this file
- Edit the root dev_appserver.py located at
C:\Arquivos de programas\Google\google_appengine\google\appengine\tools\dev_appserver.py - “Change lines 1140-1141 of dev_appserver.py from:if (file_type != self._imp.C_BUILTIN and
not FakeFile.IsFileAccessible(pathname)):to:if (file_type != self._imp.C_BUILTIN and
file_type != self._imp.C_EXTENSION and
not FakeFile.IsFileAccessible(pathname))”The dev_appserver.py file can be located at <Installation dir>\Google
\google_appengine\google\appengine\tools - Save and close this file