michaelliao / awesome-python3-webapp

小白的Python入门教程实战篇:网站+iOS App源码→ http://t.cn/R2PDyWN 赞助→ http://t.cn/R5bhVpf
GNU General Public License v3.0
2.37k stars 2.81k forks source link

python3 app.py 出错了 #34

Open baitongda opened 6 years ago

baitongda commented 6 years ago

Traceback (most recent call last): File "app.py", line 154, in loop.run_until_complete(init(loop)) File "/usr/local/python3/lib/python3.6/asyncio/base_events.py", line 466, in run_until_complete return future.result() File "app.py", line 142, in init yield from orm.create_pool(loop=loop, **configs.db) File "/home/wwwroot/LNMP/python_web/www/orm.py", line 20, in create_pool user=kw['awesome_user'], KeyError: 'awesome_user'

eduizhang commented 5 years ago

是的,这个要怎么解决啊