felixonmars / ydcv

YouDao Console Version - Simple wrapper for Youdao online translate (Chinese <-> English) service API, as an alternative to the StarDict Console Version(sdcv).
GNU General Public License v3.0
506 stars 91 forks source link

报告一个bug KeyError #56

Closed hxse closed 5 years ago

hxse commented 5 years ago
$ ydcv 
Traceback (most recent call last):
  File "/usr/bin/ydcv", line 11, in <module>
    load_entry_point('ydcv==0.7', 'console_scripts', 'ydcv')()
  File "/usr/lib/python3.7/site-packages/ydcv.py", line 353, in main
    sec = config["YDCV"]
  File "/usr/lib/python3.7/configparser.py", line 958, in __getitem__
    raise KeyError(key)
KeyError: 'YDCV'

环境: 4.19.34-1-MANJARO ydcv 0.7-1

hxse commented 5 years ago

昨天还好好的, 今天系统更新之后出了这 bug ,请问, 原因大概是什么

boypt commented 5 years ago

请仔细阅读项目主页注意事项。

无弦 notifications@github.com 于 2019年4月29日周一 19:16写道:

昨天还好好的, 今天系统更新之后出了这 bug ,请问, 原因大概是什么

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/felixonmars/ydcv/issues/56#issuecomment-487541628, or mute the thread https://github.com/notifications/unsubscribe-auth/AAH4KKXPO2SRPAWHW5WTVO3PS3KKNANCNFSM4HJCMLEQ .

boypt commented 5 years ago

fixed by #54