GAEにデプロイしたら動いたようだ。たんなるタイポだった。pyhton manage.py shellでうまくいかなかったので思い込んでしまった。
ローカルではまだ動かない。
hdknr@LennyOne:~/gae/hoge$ python manage.py runserver 0.0.0.0:8000
WARNING:root:Could not read datastore data from /tmp/django_hidelafoglia.datastore
WARNING:root:Could not read datastore data from /tmp/django_hidelafoglia.datastore.history
INFO:root:zipimporter(‘/home/hdknr/gae/hoge/django.zip’, ‘django/core/serializers/’)
INFO:google.appengine.tools.appengine_rpc:Server: appengine.google.com
INFO:root:Checking for updates to the SDK.
INFO:root:The SDK is up to date.
WARNING:root:Could not read datastore data from /tmp/django_hidelafoglia.datastore
WARNING:root:Could not read datastore data from /tmp/django_hidelafoglia.datastore.history
INFO:root:Running application hidelafoglia on port 8000: http://0.0.0.0:8000
WARNING:root:Can’t open zipfile /usr/lib/python2.5/site-packages/yolk-0.4.1-py2.5.egg: IOError: [Errno 13] file not accessible: ‘/usr/lib/python2.5/site-packages/yolk-0.4.1-py2.5.egg’
WARNING:root:Can’t open zipfile /usr/lib/python2.5/site-packages/pycrypto-2.0.1-py2.5-linux-i686.egg: IOError: [Errno 13] file not accessible: ‘/usr/lib/python2.5/site-packages/pycrypto-2.0.1-py2.5-linux-i686.egg’
WARNING:root:Blocking access to skipped file "/home/hdknr/gae/hoge/django.zip/django/.svn/entries"
INFO:root:"GET /cloud/ HTTP/1.1" 200 -
INFO:root:Updating /home/hdknr/gae/hoge/index.yaml
/usr/lib/pythn2.5/site-packageにあるeggは全部アクセスしにいくのかな?それにしても file not accessible がよくわからん。GAEのフレームワークが出しているんだろうか?
