Skip to content

PymodeLint fails on second run. #329

@lodagro

Description

@lodagro

Just pulled the new release (on develop branch). Using vim 7.4 (including patches 1-5), python 2.7.

After tackling python-mode backward-incompatibilities ( ok you are the maintainer :-) ) vim starts fine.

First time calling PymodeLint works fine too, second time not (no changes were done to the file, or any of the settings). Vim complains about undefined variables.

output of vim :messages

Error detected while processing function pymode#lint#check:
line   21:
E121: Undefined variable: b:pymode_signs
E15: Invalid expression: b:pymode_signs
line   26:
E121: Undefined variable: b:pymode_signs
E116: Invalid arguments for function add
E121: Undefined variable: b:pymode_signs
E116: Invalid arguments for function add
E121: Undefined variable: b:pymode_signs
E116: Invalid arguments for function add
E121: Undefined variable: b:pymode_signs
E116: Invalid arguments for function add
E121: Undefined variable: b:pymode_signs
E116: Invalid arguments for function add
E121: Undefined variable: b:pymode_signs
E116: Invalid arguments for function add
E121: Undefined variable: b:pymode_signs
E116: Invalid arguments for function add
E121: Undefined variable: b:pymode_signs
E116: Invalid arguments for function add
E121: Undefined variable: b:pymode_signs
E116: Invalid arguments for function add
E121: Undefined variable: b:pymode_signs
E116: Invalid arguments for function add
E121: Undefined variable: b:pymode_signs
E116: Invalid arguments for function add
E121: Undefined variable: b:pymode_signs
E116: Invalid arguments for function add
E121: Undefined variable: b:pymode_signs
E116: Invalid arguments for function add
E121: Undefined variable: b:pymode_signs
E116: Invalid arguments for function add
E121: Undefined variable: b:pymode_signs
E116: Invalid arguments for function add
E121: Undefined variable: b:pymode_signs
E116: Invalid arguments for function add
E121: Undefined variable: b:pymode_signs
E116: Invalid arguments for function add
E121: Undefined variable: b:pymode_signs
E116: Invalid arguments for function add
E121: Undefined variable: b:pymode_signs
E116: Invalid arguments for function add
E121: Undefined variable: b:pymode_signs
E116: Invalid arguments for function add
E121: Undefined variable: b:pymode_signs
E116: Invalid arguments for function add
E121: Undefined variable: b:pymode_signs
E116: Invalid arguments for function add
line   32:
E121: Undefined variable: b:pymode_errors
E121: Undefined variable: b:pymode_errors
E121: Undefined variable: b:pymode_errors
E121: Undefined variable: b:pymode_errors
E121: Undefined variable: b:pymode_errors
E121: Undefined variable: b:pymode_errors
E121: Undefined variable: b:pymode_errors
E121: Undefined variable: b:pymode_errors
E121: Undefined variable: b:pymode_errors
E121: Undefined variable: b:pymode_errors
E121: Undefined variable: b:pymode_errors
E121: Undefined variable: b:pymode_errors
E121: Undefined variable: b:pymode_errors
E121: Undefined variable: b:pymode_errors
E121: Undefined variable: b:pymode_errors
E121: Undefined variable: b:pymode_errors
E121: Undefined variable: b:pymode_errors
E121: Undefined variable: b:pymode_errors
E121: Undefined variable: b:pymode_errors
E121: Undefined variable: b:pymode_errors
E121: Undefined variable: b:pymode_errors
E121: Undefined variable: b:pymode_errors
E121: Undefined variable: b:pymode_errors
E121: Undefined variable: b:pymode_errors
Error detected while processing function pymode#lint#check..pymode#lint#show_errormessage:
line    1:
E121: Undefined variable: b:pymode_errors
E116: Invalid arguments for function empty(b:pymode_errors)
E15: Invalid expression: empty(b:pymode_errors)
line   10:
E121: Undefined variable: b:pymode_errors
E116: Invalid arguments for function has_key(b:pymode_errors, l)
E15: Invalid expression: has_key(b:pymode_errors, l)

output off :call pymode#troubleshooting#test()

Pymode diagnostic                                                               
===================                                                             
VIM:704, OS: Linux, multi_byte:1, pymode: 0.7.1b, python: python                


VIM python paths:                                                               
-----------------                                                               
<skipped>                                        

Pymode variables:                                                               
-------------------                                                             
let pymode = 1                                                                  
let pymode_breakpoint = 1                                                       
let pymode_breakpoint_bind = '<leader>b'                                        
let pymode_doc = 1                                                              
let pymode_doc_bind = '<leader>k'                                               
let pymode_folding = 1                                                          
let pymode_indent = 1                                                           
let pymode_lint = 1                                                             
let pymode_lint_checkers = ['pyflakes', 'pep8', 'pep257', 'mccabe']             
let pymode_lint_cwindow = 1                                                     
let pymode_lint_ignore = 'C0110'                                                
let pymode_lint_message = 1                                                     
let pymode_lint_on_fly = 0                                                      
let pymode_lint_on_write = 0                                                    
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 = 1                                                             
let pymode_run = 1                                                              
let pymode_run_bind = '<leader>run'                                             
let pymode_trim_whitespaces = 1                                                 
let pymode_virtualenv = 1                                                       
let pymode_virtualenv_enabled = 'confidential'
let pymode_virtualenv_path = 'confidential'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy