应用报 502

7 views
Skip to first unread message

vfasky

unread,
Jan 24, 2013, 4:36:51 AM1/24/13
to sae-p...@googlegroups.com
应用地址 : http://6.9diary2.sinaapp.com/

导致出错的语句:

print len(rules)

rules 是存放 acl  规则. 通过 mc 缓存
mc 对应的 key "xcat.web.Route.acls"

之前尝试

print rules 

成功, 在后台日志能显示, 但太长, 日志未能完全显示, 初步观察, rules 有一个元素 X 次重复





Alan Chan

unread,
Jan 24, 2013, 5:02:32 AM1/24/13
to sae-p...@googlegroups.com
你应用的加载时间太长了,目前加载应用设置的超时时间是4s,超过这个时间还没有加载完会被kill掉,可能会导致错误的信息没办法print出来。


2013/1/24 vfasky <vfa...@gmail.com>

--
邮件来自: SAE Python 邮件列表
发言: sae-p...@googlegroups.com
退订: sae-python+...@googlegroups.com (向此发空信即退!)
 
 

vfasky

unread,
Jan 24, 2013, 5:04:52 AM1/24/13
to sae-p...@googlegroups.com
不是的, 只需要将 print len(rules) 注释掉, 应用就能正常跑了

vfasky

unread,
Jan 25, 2013, 2:09:10 AM1/25/13
to sae-p...@googlegroups.com
SAE的日志也出问题了, print 的信息, 一直未显示:
版本 5 的日志是正常的, 只有 版本 6 的出问题

在 2013-1-24,下午6:02,Alan Chan <chanf...@gmail.com> 写道:

Alan Chan

unread,
Jan 25, 2013, 3:24:57 AM1/25/13
to sae-p...@googlegroups.com
这个是个bug,已经修复。

2013/1/25 vfasky <vfa...@gmail.com>
屏幕快照 2013-01-25 下午3.05.48.png
Reply all
Reply to author
Forward
0 new messages