码迷,mamicode.com
首页 > 微信 > 详细

SAE上用Python开发微信接口用浏览器请求显示internal server error.

时间:2015-01-06 11:25:05      阅读:479      评论:0      收藏:0      [点我收藏+]

标签:

处理这个磨蹭了很久,在网上也没有找到解释,所以写下这篇随笔,希望对后来人有所帮助;

如果显示这个,查看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, k
AttributeError: signature yq26 

其实你的SAE端已经没有问题了,现在需要去微信端验证token就ok了

 

SAE上用Python开发微信接口用浏览器请求显示internal server error.

标签:

原文地址:http://www.cnblogs.com/frikyskicce/p/4205443.html

(1)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!