gxtrobot / bustag

a tag and recommend system for old bus driver 给老司机用的一个番号推荐系统
MIT License
3.86k stars 586 forks source link

EOFError: EOF when reading a line #41

Closed Dawnnnnnn closed 4 years ago

Dawnnnnnn commented 4 years ago

dawnma @ dawnmadeMacBook-Pro in ~/Downloads/bustag [1:46:53]

$ docker run --rm -v $(pwd)/data:/app/data -p 8000:8000 gxtrobot/bustag-app /app dirname:/app/src/bustag/bustag/app Bustag server starting: version: 0.2.0

CWD: /app system error Press Enter to continue ... Traceback (most recent call last): File "/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "/usr/local/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/app/src/bustag/bustag/app/index.py", line 221, in input() EOFError: EOF when reading a line

gxtrobot commented 4 years ago

你data目录映射了吗, 有config.ini吗

Dawnnnnnn commented 4 years ago

已定位到问题,是放进去了旧的db,后来才看到旧db和0.2.0版本不通用