$ diff 1.9.37/_python_runtime.py 1.9.34/_python_runtime.py
72,75d71
< if 'google' in sys.modules:
< google_path = os.path.join(os.path.dirname(__file__), 'google')
< google_module = sys.modules['google']
< google_module.__path__.append(google_path)
78c74,77
< google_module.__file__ = google_path
---
>
>
> if 'google' in sys.modules:
> del sys.modules['google']
If I copy the old version of this file over the new one, the error goes away. The relevant pip packages that I have installed are gcloud (0.14.0), googleapis-common-protos (1.1.0), protobuf (3.0.0b3). Again, if I uninstall these, the problem also goes away. PYTHONPATH is empty.
The differences in sys.path (printed just before the failing webapp2 import statement) are:
Working: [..., '/Users/aatreya/1.9.34/lib/pycrypto-2.6', '/Users/aatreya/1.9.34/lib/webapp2-2.5.2', '/Users/aatreya/1.9.34/lib/protorpc-1.0', '/Users/aatreya/1.9.34/lib/webob-1.1.1', '/Users/aatreya/1.9.34/lib/yaml-3.10']
Not working: [..., '/Users/aatreya/lib/pycrypto-2.6', '/Users/aatreya/lib/webapp2-2.5.2', '/Users/aatreya/lib/protorpc-1.0', '/Users/aatreya/lib/webob-1.1.1', '/Users/aatreya/lib/yaml-3.10']
--
You received this message because you are subscribed to a topic in the Google Groups "Google App Engine" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/LucknWk8iaQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/df8c5421-a84a-44fe-bf63-8497ad7eed18%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Google App Engine" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/LucknWk8iaQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/b911a795-a56f-461c-bfe8-c23107a7cfec%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/9b8fadcd-3221-4e77-b715-58994b3bbb2c%40googlegroups.com.