Running the dev_appserver.py
throws the following error:
$ python dev_appserver.py
Traceback (most recent call last):
File "dev_appserver.py", line 182, in <module>
_run_file(__file__, globals())
File "dev_appserver.py", line 178, in _run_file
execfile(script_path, globals_)
File "/home/adminuser/dev/apps/gae/google_appengine/google/appengine/tools/devappserver2/devappserver2.py", line 30, in <module>
from google.appengine.datastore import datastore_stub_util
File "/home/adminuser/dev/apps/gae/google_appengine/google/appengine/datastore/datastore_stub_util.py", line 193
datastore_types.SCATTER_SPECIAL_PROPERTY:.get(prefix, (0, et_bdatastore#!/usr/bihOPERTY:.get(preob.Pth the actual:
^
SyntaxError: invalid syntax
I tried these:
apt-get build-dep python
python dev_appserver.py --clear_datastore=yes ../path/to_app
echo $PATH
/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/adminuser/dev/apps/gae/google_appengine/:/home/adminuser/dev/apps/gae/google_appengine/
It looks like your distribution of the SDK is corrupt.
LIne 193 of datastore_stub_util.py look like
datastore_types.SCATTER_SPECIAL_PROPERTY: (False, True, _GetScatterProperty)
I would re download it.
Regards
Tim