gxtrobot / bustag

a tag and recommend system for old bus driver 给老司机用的一个番号推荐系统

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

上传车牌报错

hezpupil opened this issue · comments

Error: 500 Internal Server Error
Sorry, the requested URL 'http://xxxx.com/local_fanhao' caused an error:

Internal Server Error
Exception:
KeyError('download.root_path')
Traceback:
Traceback (most recent call last):
File "lib\site-packages\bottle.py", line 862, in _handle
File "lib\site-packages\bottle.py", line 1742, in wrapper
File "bustag\app\index.py", line 148, in update_local_fanhao
File "bustag\app\index.py", line 148, in
File "bustag\spider\bus_spider.py", line 17, in get_url_by_fanhao
File "bustag\util.py", line 62, in get_full_url
KeyError: 'download.root_path'

data目录下config.ini文件内容不对, 是不是空的

需要填入一些内容的, 具体看仓库首页 ,最好看下我录的使用视频