When i begin work - lint works well, but after some time lint just silently stops show errors even if they exist. Manually run :PymodeLint will show errors, but next save remove and don't show error window again. I also changed settings for syntastic to improve work with python-mode as described in their docs https://github.com/scrooloose/syntastic/blob/8e0f22ea414b241c57629561728de0900bb5870d/doc/syntastic.txt#L595:
let g:syntastic_filetype_map = {'mode': 'active', 'passive_filetypes': ['python']}
Pymode diagnostic
===================
VIM:704, OS: Darwin, multi_byte:1, pymode: 0.7.8b, python: python
VIM python paths:
-----------------
/Users/user/.virtualenvs/test/lib/python2.7/site-packages
/Users/user/.virtualenvs/test/lib/python2.7/site-packages
/Users/user/.virtualenvs/test/lib/python2.7/site-packages
/Users/user/.virtualenvs/test/lib/python2.7/site-packages
/Users/user/.virtualenvs/test/lib/python2.7/site-packages
/Users/user/.virtualenvs/test/lib/python2.7/site-packages
/Users/user/.virtualenvs/test/lib/python2.7/site-packages
/Users/user/.virtualenvs/test/lib/python2.7/site-packages
/Users/user/.virtualenvs/test/lib/python2.7/site-packages
/Users/user/.virtualenvs/test/lib/python2.7/site-packages
/Users/user/.virtualenvs/test/lib/python2.7/site-packages
/Users/user/.virtualenvs/test/lib/python2.7/site-packages
/Users/user/.virtualenvs/test/lib/python2.7/site-packages
/Users/user/.virtualenvs/test/lib/python2.7/site-packages
/Users/user/.virtualenvs/test/lib/python2.7/site-packages
/Users/user/.virtualenvs/test/lib/python2.7/site-packages
/Users/user/.virtualenvs/test/lib/python2.7/site-packages
/Users/user/.virtualenvs/test/lib/python2.7/site-packages
/Users/user/.virtualenvs/test/lib/python2.7/site-packages
/Users/user/.virtualenvs/test/lib/python2.7/site-packages
/Users/user/.virtualenvs/test/lib/python2.7/site-packages
/Users/user/.virtualenvs/test/lib/python2.7/site-packages
/Users/user/.virtualenvs/test/lib/python2.7/site-packages
/Users/user/.virtualenvs/test/lib/python2.7/site-packages
/Users/user/.virtualenvs/test/lib/python2.7/site-packages
/Users/user/.virtualenvs/test/lib/python2.7/site-packages
/Users/user/.virtualenvs/test/lib/python2.7/site-packages
/Users/user/.vim/bundle/python-mode/pymode/libs/pylama/lint/pylama_pylint
/Users/user/.virtualenvs/test/lib/python2.7/site-packages
/Users/user/.vim/bundle/python-mode/pymode/libs2
/Users/user/.vim/bundle/python-mode/pymode/libs
/Users/user/.virtualenvs/test/src/django-nose
/Users/user/.virtualenvs/test/src/django-dynamic-fixture
/Users/user/.virtualenvs/test/src/gevent
/Users/user/.virtualenvs/test/src/django-cache-machine
/Users/user/.virtualenvs/test/src/django-chosen
/Users/user/.virtualenvs/test/src/django-timezone-field
/Users/user/.virtualenvs/test/src/sockjs-twisted
/Users/user/.virtualenvs/test/src/txmongo
/Users/user/.virtualenvs/test/src/beanstalk
/Users/user/.virtualenvs/test/src/cyclone
/Users/user/.virtualenvs/test/src/beanstalkc
/Users/user/.virtualenvs/test/src/djson-field
/Users/user/.vim/bundle/python-mode
/Users/user/.vim/bundle/jedi-vim
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-1.3.2-py2.7.egg
/Library/Python/2.7/site-packages/distribute-0.7.3-py2.7.egg
/Library/Python/2.7/site-packages/pip-1.4.1-py2.7.egg
/Library/Python/2.7/site-packages/setuptools-1.1.6-py2.7.egg
/Library/Python/2.7/site-packages/readline-6.2.4.1-py2.7-macosx-10.7-intel.egg
/usr/local/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg
/usr/local/lib/python2.7/site-packages/setuptools-1.3.2-py2.7.egg
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python27.zip
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
/Library/Python/2.7/site-packages
_vim_path_
Pymode variables:
-------------------
let pymode = 1
let pymode_breakpoint = 1
let pymode_breakpoint_bind = '<leader>b'
let pymode_doc = 1
let pymode_doc_bind = 'K'
let pymode_folding = 1
let pymode_indent = 1
let pymode_lint = 1
let pymode_lint_checkers = ['pyflakes', 'pep8', 'mccabe']
let pymode_lint_cwindow = 1
let pymode_lint_ignore = 'E501,C0110,C0301'
let pymode_lint_message = 1
let pymode_lint_on_fly = 0
let pymode_lint_on_write = 1
let pymode_lint_select = ''
let pymode_lint_signs = 1
let pymode_motion = 1
let pymode_options = 1
let pymode_paths = []
let pymode_quickfix_maxheight = 6
let pymode_quickfix_minheight = 3
let pymode_rope = 0
let pymode_run = 1
let pymode_run_bind = '<leader>r'
let pymode_trim_whitespaces = 1
let pymode_virtualenv = 1
let pymode_virtualenv_enabled = '/Users/user/.virtualenvs/test'
let pymode_virtualenv_path = '/Users/user/.virtualenvs/test'
vim --version:
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Nov 20 2013 11:10:25)
MacOS X (unix) version
Included patches: 1-52
Compiled by Homebrew
Huge version with MacVim GUI. Features included (+) or not (-):
+acl +file_in_path +mouse_sgr +tag_binary
+arabic +find_in_path -mouse_sysmouse +tag_old_static
+autocmd +float +mouse_urxvt -tag_any_white
+balloon_eval +folding +mouse_xterm +tcl
+browse -footer +multi_byte +terminfo
++builtin_terms +fork() +multi_lang +termresponse
+byte_offset +fullscreen -mzscheme +textobjects
+cindent -gettext +netbeans_intg +title
+clientserver -hangul_input +odbeditor +toolbar
+clipboard +iconv +path_extra +transparency
+cmdline_compl +insert_expand +perl +user_commands
+cmdline_hist +jumplist +persistent_undo +vertsplit
+cmdline_info +keymap +postscript +virtualedit
+comments +langmap +printer +visual
+conceal +libcall +profile +visualextra
+cryptv +linebreak +python +viminfo
+cscope +lispindent -python3 +vreplace
+cursorbind +listcmds +quickfix +wildignore
+cursorshape +localmap +reltime +wildmenu
+dialog_con_gui -lua +rightleft +windows
+diff +menu +ruby +writebackup
+digraphs +mksession +scrollbind -X11
+dnd +modify_fname +signs -xfontset
-ebcdic +mouse +smartindent +xim
+emacs_tags +mouseshape -sniff -xsmp
+eval +mouse_dec +startuptime -xterm_clipboard
+ex_extra -mouse_gpm +statusline -xterm_save
+extra_search -mouse_jsbterm -sun_workshop -xpm
+farsi +mouse_netterm +syntax
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
user exrc file: "$HOME/.exrc"
system gvimrc file: "$VIM/gvimrc"
user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
system menu file: "$VIMRUNTIME/menu.vim"
fall-back for $VIM: "/Applications/MacVim.app/Contents/Resources/vim"
Compilation: clang -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MACVIM -Wall -Wno-unknown-pragmas -pipe -DMACOS_X_UNIX -no-cpp-precomp -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/System/Library/Frameworks/Tcl.framework/Headers -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_DARWIN_C_SOURCE=1
Linking: clang -L. -L/usr/local/lib -L. -L/usr/local/lib -L/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config -F/usr/local/opt/python/Frameworks -L/usr/local/lib -o Vim -framework Cocoa -framework Carbon -lm -lncurses -liconv -framework Cocoa -fstack-protector -L/usr/local/lib -L/System/Library/Perl/5.16/darwin-thread-multi-2level/CORE -lperl -framework Python -F/System/Library/Frameworks -framework Tcl -framework CoreFoundation -framework Ruby
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Same here, I have no idea why. The only "fix" I found is to restart vim...
Same problem, I solved it like this:
au BufWriteCmd *.py write || :PymodeLint
+1 same problem.
+1
I have the same problem and that is annoying... :(
No ideas?
(Thanks unralbash for your trick !)
I have ideas: #620
Thanks mpyatishev !
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Closed due to inactivity.
I had exactly the same issue
Please, you are commenting in a very old issue (about 3 years old), python-mode has changed a lot since then and there is a high probability that comments from this issue won't be helpful.
If you need, open a new issue with troubleshooting information so we can try to help you.
Most helpful comment
Same problem, I solved it like this: