V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
tedd
V2EX  ›  Python

照着大妈的 chaos2wechat 教程开发微信公众号: Only Bottle instances are supported for now

  •  
  •   tedd · 2015-04-06 11:12:31 +08:00 · 2332 次点击
    这是一个创建于 3372 天前的主题,其中的信息可能已经有所发展或是发生改变。
    http://chaos2.zoomquiet.io/wechat/build/html/ch01/try.html

    照着try这篇代码上传后,直接访问http://1.wechatbottle.sinaapp.com报错,另外新版本的公众平台接入配置不是需要传入个Token吗?教程中也没有提到,这个教程是否过时了?

    Traceback (most recent call last):
    File "/data1/www/htdocs/739/wechatbottle/1/index.wsgi", line 5, in <module>
    from web import APP
    File "/data1/www/htdocs/739/wechatbottle/1/web/__init__.py", line 5, in <module>
    APP.mount('/api', __import__('mana4api').APP)
    File "/usr/local/sae/python/lib/python2.7/site-packages/bottle.py", line 430, in mount
    raise TypeError('Only Bottle instances are supported for now.')
    TypeError: Only Bottle instances are supported for now.
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2491 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 14:17 · PVG 22:17 · LAX 07:17 · JFK 10:17
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.