Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

配置文件新增了快捷键后载入之前版本配置文件会导致载入异常 #16

Closed
shiznet opened this issue Oct 25, 2014 · 2 comments
Labels

Comments

@shiznet
Copy link

shiznet commented Oct 25, 2014

Traceback (most recent call last):
  File "/usr/local/bin/douban.fm", line 9, in <module>
    load_entry_point('douban.fm==0.2.9', 'console_scripts', 'douban.fm')()
  File "build/bdist.macosx-10.9-x86_64/egg/douban/douban.py", line 410, in main
  File "build/bdist.macosx-10.9-x86_64/egg/douban/douban.py", line 30, in __init__
  File "build/bdist.macosx-10.9-x86_64/egg/douban/douban.py", line 84, in get_config
  File "/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ConfigParser.py", line 618, in get
    raise NoOptionError(option, section)
ConfigParser.NoOptionError: No option 'pause' in section: 'key'
@shiznet
Copy link
Author

shiznet commented Oct 25, 2014

临时解决方案就是把~/.doubanfm_config删除重启。但是还是需要考虑下配置文件的前向兼容问题。

@taizilongxu
Copy link
Owner

好的,正在改,把默认按键放入一个字典,如果config里设置的话就更改

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants