From 8ab4d08297b9f493afc9898f68971527e2e5021f Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 30 Dec 2009 19:38:42 +0000 Subject: Workaround for new GAE version compatibility with appengine-monkey. --- docs/tutorials/gae/index.rst | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'docs/tutorials') diff --git a/docs/tutorials/gae/index.rst b/docs/tutorials/gae/index.rst index bf77ac6da..f440dac27 100644 --- a/docs/tutorials/gae/index.rst +++ b/docs/tutorials/gae/index.rst @@ -109,6 +109,15 @@ system. # assert sys.path[:len(cur_sys_path)] == cur_sys_path, ( # "addsitedir() caused entries to be prepended to sys.path") + For GAE development environment 1.3.0 or better, you will also need + the following somewhere near the top of the ``runner.py`` file to + fix a compatibility issue with ``appengine-monkey``: + + .. code-block:: python + + import os + os.mkdir = None + #. Run the application. ``dev_appserver.py`` is typically installed by the SDK in the global path but you need to be sure to run it with Python 2.5 (or whatever version of Python your GAE SDK -- cgit v1.2.3