1
keakon 2011-06-01 19:44:41 +08:00
你得把后台的出错记录贴出来
还有,如果配置都不能自己搞定的话,我估计对你来说会很难用 |
3
wcanisay OP 错误日志:
500 134ms 35cpu_ms 12api_cpu_ms 0kb Mozilla/5.0 (Windows NT 5.1) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.71 Safari/534.24 AppEngine-Google; (+http://code.google.com/appengine; appid: wcanisay),gzip(gfe) 64.233.172.17 - - [01/Jun/2011:05:22:46 -0700] "GET / HTTP/1.1" 500 0 - "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.71 Safari/534.24 AppEngine-Google; (+http://code.google.com/appengine; appid: wcanisay),gzip(gfe)" "fuxkgwf.appspot.com" ms=135 cpu_ms=36 api_cpu_ms=12 cpm_usd=0.001036 E 2011-06-01 05:22:46.014 Traceback (most recent call last): File "/base/data/home/apps/fuxkgwf/blog.350794846972290235/yui.py", line 1370, in __call__ handler.get(*groups, **groupdict) File "/base/data/home/apps/fuxkgwf/blog.350794846972290235/yui.py", line 1622, in cache_handler handler(self, *args, **kw) File "/base/data/home/apps/fuxkgwf/blog.350794846972290235/view.py", line 25, in get 'page': 'home' File "/base/data/home/apps/fuxkgwf/blog.350794846972290235/common.py", line 495, in echo self.write(self.render(template, context, globals, layout)) File "/base/data/home/apps/fuxkgwf/blog.350794846972290235/common.py", line 492, in render return engine.render(template, context, globals, layout) File "/base/data/home/apps/fuxkgwf/blog.350794846972290235/tenjin.py", line 1715, in render template = self.get_template(template_name, context, globals) File "/base/data/home/apps/fuxkgwf/blog.350794846972290235/tenjin.py", line 1618, in get_template raise TemplateNotFoundError('%s: filename not found (path=%r).' % (filename, self.path)) TemplateNotFoundError: home.html: filename not found (path=['template/iphonsta', 'template']). E 2011-06-01 05:22:46.114 <class 'tenjin.TemplateNotFoundError'>: error.html: filename not found (path=['template/iphonsta', 'template']). Traceback (most recent call last): File "/base/data/home/apps/fuxkgwf/blog.350794846972290235/blog.py", line 67, in main util.run_wsgi_app(application) File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/util.py", line 98, in run_wsgi_app run_bare_wsgi_app(add_wsgi_middleware(application)) File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/util.py", line 116, in run_bare_wsgi_app result = application(env, _start_response) File "/base/data/home/apps/fuxkgwf/blog.350794846972290235/yui.py", line 1412, in find_domain return wsgi_app(env, start_response) File "/base/data/home/apps/fuxkgwf/blog.350794846972290235/yui.py", line 1445, in redirect_if_needed return wsgi_app(env, start_response) File "/base/data/home/apps/fuxkgwf/blog.350794846972290235/yui.py", line 1379, in __call__ handler.handle_exception(e) File "/base/data/home/apps/fuxkgwf/blog.350794846972290235/common.py", line 529, in handle_exception self.display_exception(exception) File "/base/data/home/apps/fuxkgwf/blog.350794846972290235/common.py", line 536, in display_exception 'msg': format_exc() if self.request.is_admin else '我也不知道遇到了什么问题,如果刷新下还无法解决,您可以报告管理员。' File "/base/data/home/apps/fuxkgwf/blog.350794846972290235/common.py", line 495, in echo self.write(self.render(template, context, globals, layout)) File "/base/data/home/apps/fuxkgwf/blog.350794846972290235/common.py", line 492, in render return engine.render(template, context, globals, layout) File "/base/data/home/apps/fuxkgwf/blog.350794846972290235/tenjin.py", line 1715, in render template = self.get_template(template_name, context, globals) File "/base/data/home/apps/fuxkgwf/blog.350794846972290235/tenjin.py", line 1618, in get_template raise TemplateNotFoundError('%s: filename not found (path=%r).' % (filename, self.path)) |
4
jckwei 2011-06-01 23:25:11 +08:00
我曾经下载后只改APPid就可以正常打开首页
|
5
keakon 2011-06-02 12:21:41 +08:00
看上去你改了模板的设置或模板的路径或删了模板文件,这部分是不需要改动的。此外,在部署之前你得先在本地测试。
@c 不想做在线配置,获取时得访问datastore,而且有些设置是动态获取的、正则表达式和列表,这些玩意也不好在线配置。 |
7
wcanisay OP 找到原因了。
ENABLE_TAG_CLOUD = True 我修改成了false,但F没有大写。 汗! |
8
wcanisay OP 感谢各位的回复!
|
9
wcanisay OP 不好意思,如何更改主题?
THEMES = ['koi', 'iphonsta', 'freshpress'] # 主题 应该就是更改主题的语句吧?如何修改?在哪里修改? |