推荐学习书目
› 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 · Apr 6, 2015 · 2977 views
    This topic created in 4191 days ago, the information mentioned may be changed or developed.
    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.
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2568 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 05:51 · PVG 13:51 · LAX 22:51 · JFK 01:51
    ♥ Do have faith in what you're doing.