首页 > 代码库 > SAE上用Python开发微信接口用浏览器请求显示internal server error.
SAE上用Python开发微信接口用浏览器请求显示internal server error.
处理这个磨蹭了很久,在网上也没有找到解释,所以写下这篇随笔,希望对后来人有所帮助;
如果显示这个,查看SAE的日志,会发现如下:
- [2015/01/06 05:33:02] - Traceback (most recent call last): File "/usr/local/sae/python/lib/python2.7/site-packages/web/application.py", line 237, in process return self.handle() File "/usr/local/sae/python/lib/python2.7/site-packages/web/application.py", line 228, in handle return self._delegate(fn, self.fvars, args) File "/usr/local/sae/python/lib/python2.7/site-packages/web/application.py", line 409, in _delegate return handle_class(cls) File "/usr/local/sae/python/lib/python2.7/site-packages/web/application.py", line 385, in handle_class return tocall(*args) File "/data1/www/htdocs/987/*******/1/WeixinInterface.py", line 19, in GET signature = data.signature File "/usr/local/sae/python/lib/python2.7/site-packages/web/utils.py", line 76, in __getattr__ raise AttributeError, kAttributeError: ‘signature‘ yq26
其实你的SAE端已经没有问题了,现在需要去微信端验证token就ok了
SAE上用Python开发微信接口用浏览器请求显示internal server error.
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。