Simple cookie fix for session.put() error with pyamf shell after upgrading the Google App Engine SDK

On the off chance that you are running app-engine-patch and have started getting errors similar to…

Traceback (most recent call last):
  File "/Users/aral/projects/headconference/trunk/shell/gateway.py", line 218, in evalCode
    session.put()
AttributeError: 'NoneType' object has no attribute 'put'

…while using the PyAMF Shell after upgrading your Google App Engine SDK (to the latest 1.1.5, for example) the fix is really quite simple: delete the cookies in your browser.

Comments