% dev_appserver.py .
INFO 2009-11-01 17:55:28,394 appengine_rpc.py:157] Server: appengine.google.com
INFO 2009-11-01 17:55:28,401 appcfg.py:348] Checking for updates to the SDK.
INFO 2009-11-01 17:55:28,959 appcfg.py:362] The SDK is up to date.
WARNING 2009-11-01 17:55:28,960 datastore_file_stub.py:443] Could not read datastore data from /var/folders/GS/GSaHrqM6HwiPHzeXj3bhL++++TI/-Tmp-/dev_appserver.datastore
WARNING 2009-11-01 17:55:28,966 dev_appserver.py:3370] Could not initialize images API; you are likely missing the Python "PIL" module. ImportError: No module named _imaging
INFO 2009-11-01 17:55:28,971 dev_appserver_main.py:478] Running application docs on port 8080: http://localhost:8080
GAEをローカルで立ち上げる時にいつも出てるPILが無いとかいうエラー。「なんぞこれ」ということでググったらImages系の機能は本番上にあるのでローカルでは動かないのだとか。PILというライブラリを入れればローカルでも動くらしいので入れた。
% sudo port install py25-pil
% dev_appserver.py .
INFO 2009-11-01 18:01:04,527 appengine_rpc.py:157] Server: appengine.google.com
INFO 2009-11-01 18:01:04,534 appcfg.py:348] Checking for updates to the SDK.
INFO 2009-11-01 18:01:04,906 appcfg.py:362] The SDK is up to date.
WARNING 2009-11-01 18:01:04,906 datastore_file_stub.py:443] Could not read datastore data from /var/folders/GS/GSaHrqM6HwiPHzeXj3bhL++++TI/-Tmp-/dev_appserver.datastore
INFO 2009-11-01 18:01:04,974 dev_appserver_main.py:478] Running application docs on port 8080: http://localhost:8080
ひゃっほい
しかし意味はわかるけどdatastoreが無いってのも何とかならないのかな?