500错误,哪位能帮帮忙?

2010-09-11 00:02:46 +08:00
 ziozhou
不可能把log贴到这里吧?那么长~~~影响市容啊。
5172 次点击
所在节点    V2EX
5 条回复
ziozhou
2010-09-11 00:14:22 +08:00
09-10 07:44AM 47.804 / 500 1159ms 291cpu_ms 0kb Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; InfoPath.3; CIBA; TheWorld),gzip(gfe)
183.31.65.22 - - [10/Sep/2010:07:44:48 -0700] "GET / HTTP/1.1" 500 0 - "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; InfoPath.3; CIBA; TheWorld),gzip(gfe)" "ziozhouforum.appspot.com" ms=1160 cpu_ms=292 api_cpu_ms=0 cpm_usd=0.008140 loading_request=1 pending_ms=184
E 09-10 07:44AM 48.959
<type 'exceptions.ImportError'>: No module named config
Traceback (most recent call last):
File "/base/data/home/apps/ziozhouforum/1.344701992634778143/main.py", line 47, in <module>
import config
I 09-10 07:44AM 48.962
This request caused a new process to be started for your application, and thus caused your application code to be loaded for the first time. This request may thus take longer and use more CPU than a typical request for your application.
xinzhi
2010-09-11 00:25:02 +08:00
你没有上传config.py这个文件么?config.py.example这个文件复制一份,然后里面的内容要修改,相应的文件名是config.py
ziozhou
2010-09-11 00:35:16 +08:00
怎么改呢?
ziozhou
2010-09-11 00:41:51 +08:00
就是改个文件名而已~~~
n2n3
2010-09-11 00:44:28 +08:00

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/2481

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX