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

Error: Message already defined #221

barraponto opened this issue May 13, 2013 · 2 comments


Copy link

commented May 13, 2013

Recently, I've started seeing the following error everytime I save the file (which, I think, triggers pylint):

ERROR:root:Traceback (most recent call last):
  File "/home/barraponto/.spf13-vim-3/.vim/bundle/python-mode/pylibs/pylama/", line 48, in run
    result = linter(path, code=code, **meta)
  File "/home/barraponto/.spf13-vim-3/.vim/bundle/python-mode/pylibs/pylama/", line 107, in pylint
    [path] + attrs, reporter=Reporter(), exit=False)
  File "/home/barraponto/.spf13-vim-3/.vim/bundle/python-mode/pylibs/pylama/pylint/", line 925, in __init__
  File "/home/barraponto/.spf13-vim-3/.vim/bundle/python-mode/pylibs/pylama/pylint/", line 331, in load_default_plugins
  File "/home/barraponto/.spf13-vim-3/.vim/bundle/python-mode/pylibs/pylama/pylint/checkers/", line 137, in initialize
    package_load(linter, __path__[0])
  File "/home/barraponto/.spf13-vim-3/.vim/bundle/python-mode/pylibs/pylama/pylint/checkers/", line 160, in package_load
  File "/home/barraponto/.spf13-vim-3/.vim/bundle/python-mode/pylibs/pylama/pylint/checkers/", line 163, in register
  File "/home/barraponto/.spf13-vim-3/.vim/bundle/python-mode/pylibs/pylama/pylint/", line 406, in register_checker
  File "/home/barraponto/.spf13-vim-3/.vim/bundle/python-mode/pylibs/pylama/pylint/", line 157, in register_messages
    'Message symbol %r is already defined' % msgsymbol
AssertionError: Message symbol 'missing-format-string-key' is already defined

I'm using spf13-vim, console vim (built with graphic support and batteries included) and archlinux (which has python3 by default, fwiw).


This comment has been minimized.

Copy link

commented May 14, 2013

Drop all "*.pyc" files from python-mode directory.

@klen klen closed this May 14, 2013


This comment has been minimized.

Copy link

commented May 14, 2013

Thanks, the fix worked pretty fine. If it is a known issue, can we have instructions on the error message? Maybe automatic cleanup of pyc files?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.