Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

PymodeLint fails on second run. #329

Closed
Labels
@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_signsE15: Invalid expression: b:pymode_signsline   26:E121: Undefined variable: b:pymode_signsE116: Invalid arguments for function addE121: Undefined variable: b:pymode_signsE116: Invalid arguments for function addE121: Undefined variable: b:pymode_signsE116: Invalid arguments for function addE121: Undefined variable: b:pymode_signsE116: Invalid arguments for function addE121: Undefined variable: b:pymode_signsE116: Invalid arguments for function addE121: Undefined variable: b:pymode_signsE116: Invalid arguments for function addE121: Undefined variable: b:pymode_signsE116: Invalid arguments for function addE121: Undefined variable: b:pymode_signsE116: Invalid arguments for function addE121: Undefined variable: b:pymode_signsE116: Invalid arguments for function addE121: Undefined variable: b:pymode_signsE116: Invalid arguments for function addE121: Undefined variable: b:pymode_signsE116: Invalid arguments for function addE121: Undefined variable: b:pymode_signsE116: Invalid arguments for function addE121: Undefined variable: b:pymode_signsE116: Invalid arguments for function addE121: Undefined variable: b:pymode_signsE116: Invalid arguments for function addE121: Undefined variable: b:pymode_signsE116: Invalid arguments for function addE121: Undefined variable: b:pymode_signsE116: Invalid arguments for function addE121: Undefined variable: b:pymode_signsE116: Invalid arguments for function addE121: Undefined variable: b:pymode_signsE116: Invalid arguments for function addE121: Undefined variable: b:pymode_signsE116: Invalid arguments for function addE121: Undefined variable: b:pymode_signsE116: Invalid arguments for function addE121: Undefined variable: b:pymode_signsE116: Invalid arguments for function addE121: Undefined variable: b:pymode_signsE116: Invalid arguments for function addline   32:E121: Undefined variable: b:pymode_errorsE121: Undefined variable: b:pymode_errorsE121: Undefined variable: b:pymode_errorsE121: Undefined variable: b:pymode_errorsE121: Undefined variable: b:pymode_errorsE121: Undefined variable: b:pymode_errorsE121: Undefined variable: b:pymode_errorsE121: Undefined variable: b:pymode_errorsE121: Undefined variable: b:pymode_errorsE121: Undefined variable: b:pymode_errorsE121: Undefined variable: b:pymode_errorsE121: Undefined variable: b:pymode_errorsE121: Undefined variable: b:pymode_errorsE121: Undefined variable: b:pymode_errorsE121: Undefined variable: b:pymode_errorsE121: Undefined variable: b:pymode_errorsE121: Undefined variable: b:pymode_errorsE121: Undefined variable: b:pymode_errorsE121: Undefined variable: b:pymode_errorsE121: Undefined variable: b:pymode_errorsE121: Undefined variable: b:pymode_errorsE121: Undefined variable: b:pymode_errorsE121: Undefined variable: b:pymode_errorsE121: Undefined variable: b:pymode_errorsError detected while processing function pymode#lint#check..pymode#lint#show_errormessage:line    1:E121: Undefined variable: b:pymode_errorsE116: Invalid arguments for function empty(b:pymode_errors)E15: Invalid expression: empty(b:pymode_errors)line   10:E121: Undefined variable: b:pymode_errorsE116: 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


      [8]ページ先頭

      ©2009-2025 Movatter.jp