Skip to content

Error when opening .py files  #1160

Description

@mmpagani

Dear all, thanks a lot for maintaining this very useful plugin.

I recently started to experience problems (not sure if these depend on the fact that I recently moved to MacVim 9 on Mac OS 12.5.1. More specifically, my MacVim version is 9.0.65).

When I open a python file I get this error: Error detected while processing CursorMoved Autocommands for "<buffer=1>"..script /Users/mpagani/.vim/plugged/python-mode/autoload/pymode/lint.vim
Following the instructions in the Troubleshooting section, I created a debug file that you find below. Thanks for any suggestion you might be able to share for solving this problem.

Messages maintainer: Bram Moolenaar <Bram@vim.org>
"~/Documents/2022/diary/09/08_cms/utils.py" 11L, 264B
1662798522 let g:pymode_virtualenv_enabled = "/Users/mpagani/Repos/venv" []
-------------------------------------------------------------------------------
pymode debug msg 1: Starting debug on: 2022-09-10 10:28:42 with file /var/folders/j5/vpmn9x657d3gzwvrx2vryvc80000gn
/T/pymode_debug_file.txt
-------------------------------------------------------------------------------
pymode debug msg 2: Operating system: Darwin
-------------------------------------------------------------------------------
pymode debug msg 3: Scriptnames:
-------------------------------------------------------------------------------
pymode debug msg 4: Pymode variables:
pymode                #1
pymode_breakpoint     #1
pymode_breakpoint_bind  <leader>b
pymode_breakpoint_cmd  breakpoint()
pymode_debug          #1
pymode_debug_counter  #3
pymode_debug_tempfile  /var/folders/j5/vpmn9x657d3gzwvrx2vryvc80000gn/T/pymode_debug_file.txt
pymode_doc            #1
pymode_doc_bind        K
pymode_doc_vertical   #0
pymode_folding        #0
pymode_folding_nest_limit #1000
pymode_folding_regex   ^\s*\%(class\|def\|async\s\+def\) .\+\(:\s\+\w\)\@!
pymode_indent         #1
pymode_indent_hanging_width #-1
pymode_init           #1
pymode_lint           #1
pymode_lint_async     #1
pymode_lint_async_updatetime #1000
pymode_lint_checkers  ['pyflakes', 'pep8', 'mccabe']
pymode_lint_comment_symbol  CC
pymode_lint_cwindow   #1
pymode_lint_docs_symbol  DD
pymode_lint_error_symbol  EE
pymode_lint_ignore    []
pymode_lint_info_symbol  II
pymode_lint_message   #1
pymode_lint_on_fly    #0
pymode_lint_on_write  #1
pymode_lint_options_mccabe {'complexity': 12}
pymode_lint_options_pep257 {}
pymode_lint_options_pep8 {'max_line_length': 79}
pymode_lint_options_pyflakes {'builtins': '_'}
pymode_lint_options_pylint {'max-line-length': 79}
pymode_lint_pyflakes_symbol  FF
pymode_lint_select    []
pymode_lint_signs     #1
pymode_lint_sort      []
pymode_lint_todo_symbol  WW
pymode_lint_unmodified #0
pymode_lint_visual_symbol  RR
pymode_motion         #1
pymode_options        #1
pymode_options_colorcolumn #1
pymode_options_max_line_length #79
pymode_paths          []
pymode_preview_height #12
pymode_preview_position  botright
Error detected while processing BufRead Autocommands for "*.py"..FileType Autocommands for "*"..function <SNR>19_Lo
adFTPlugin[18]..script /Users/mpagani/.vim/plugged/python-mode/ftplugin/python/pymode.vim:
line  249:
Interrupted

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions