What steps will reproduce the problem?
1.按照 http://www.cnblogs.com/tangf/archive/2009/01/12/1374539.html 说的简
单方法部署GAE
2.登陆我的appspot,报错,不能出现WP博客界面
What is the expected output? What do you see instead?
如上2.是一行英文大概是出错的意思。
What version of the product are you using? On what operating system?
7.0beta1 SVN Update到本项目的。
Please provide any additional information below.
不能打开的log是:
02-07 11:14PM 23.445 module base reloaded
D 02-07 11:14PM 23.446 server_dir:/base/data/home/apps/de-
javu/1.339735453904055350/themes/default
D 02-07 11:14PM 23.759 server_dir:/base/data/home/apps/de-
javu/1.339735453904055350/themes/default
I 02-07 11:14PM 24.328 module base reloaded
D 02-07 11:14PM 25.114 get_render:index.html
D 02-07 11:14PM 25.114 theme_path:/base/data/home/apps/de-
javu/1.339735453904055350/themes/default/templates,abspath:/base/data/home/
apps/de-javu/1.339735453904055350/themes
D 02-07 11:14PM 25.203 zipload imported
I 02-07 11:14PM 25.294 head
I 02-07 11:14PM 25.304 nav_menu
I 02-07 11:14PM 25.715 footer
I 02-07 11:03PM 34.590 module base reloaded
D 02-07 11:03PM 34.592 server_dir:/base/data/home/apps/de-
javu/1.339735283935579594/themes/default
D 02-07 11:03PM 35.835 server_dir:/base/data/home/apps/de-
javu/1.339735283935579594/themes/default
I 02-07 11:03PM 36.128 module base reloaded
E 02-07 11:03PM 36.188 Traceback (most recent call last):
E 02-07 11:03PM 36.188 File
"/base/python_dist/lib/python2.5/wsgiref/handlers.py", line 92, in run
E 02-07 11:03PM 36.188 self.result = application(self.environ,
self.start_response)
E 02-07 11:03PM 36.188 File
"/base/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line
497, in __call__
E 02-07 11:03PM 36.189 handler.initialize(request, response)
E 02-07 11:03PM 36.189 File "/base/data/home/apps/de-
javu/1.339735283935579594/blog.py", line 53, in initialize
E 02-07 11:03PM 36.189 archives=Archive.all().order('-year').order('-
month').fetch(12)
E 02-07 11:03PM 36.189 File
"/base/python_lib/versions/1/google/appengine/ext/db/__init__.py", line
1585, in fetch
E 02-07 11:03PM 36.189 raw = raw_query.Get(limit, offset)
E 02-07 11:03PM 36.189 File
"/base/python_lib/versions/1/google/appengine/api/datastore.py", line 1079,
in Get
E 02-07 11:03PM 36.190 prefetch_count=limit)._Get(limit)
E 02-07 11:03PM 36.190 File
"/base/python_lib/versions/1/google/appengine/api/datastore.py", line 1021,
in _Run
E 02-07 11:03PM 36.190 str(exc) + '\nThis query needs this index:\n' +
yaml)
E 02-07 11:03PM 36.190 NeedIndexError: no matching index found.
E 02-07 11:03PM 36.190 This query needs this index:
E 02-07 11:03PM 36.190 - kind: Archive
E 02-07 11:03PM 36.190 properties:
E 02-07 11:03PM 36.190 - name: year
E 02-07 11:03PM 36.191 direction: desc
E 02-07 11:03PM 36.191 - name: month
E 02-07 11:03PM 36.191 direction: desc
--------------------
后来使用了 http://www.chinagfw.org/2009/10/gaemicolog.html
说的方法,也就是
加了一部替换index.yaml :
"但是在部署前需要修改micolog根目录下的文件index.yaml,目的��
�于删除单属性的
索引,因此将只有一个
name条目删除即可,这里有一份已经修改好的index.yaml,可
以直接下载。 http://cid-
225ee16605f81852.skydrive.live.com/self.aspx/Blog%20Files/index.yaml "
上传之后就可以见到界面了
感谢coolchyni ~
Original issue reported on code.google.com by zlfziegf...@gmail.com on 8 Feb 2010 at 7:25
Original issue reported on code.google.com by
zlfziegf...@gmail.com
on 8 Feb 2010 at 7:25