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

Apparent race condition with autocmd and CLI arguments #1

Open
SkyLeach opened this issue Apr 17, 2018 · 1 comment
Open

Apparent race condition with autocmd and CLI arguments #1

SkyLeach opened this issue Apr 17, 2018 · 1 comment
Assignees
Labels
bug Something isn't working question Further information is requested

Comments

@SkyLeach
Copy link
Owner

It seems when a file is passed to neovim as a CLI argument and all of these conditions are true there may be a problem with rplugins: 1.) the file is python, 2.) the file has breakpoints registered with pudb.

example: nvim ./test/test_templates.py

results :messages

"test/test_templates.py" 136L, 3937C Error detected while processing function remote#define#request:
line    2:
no request handler registered for "/Users/magregor/src/pudb.vim/rplugin/python3/vim_pudb.py:autocmd:BufReadPost:*.py"

This error doesn't prevent the plugin from working after the first load.

@SkyLeach SkyLeach self-assigned this Apr 17, 2018
@SkyLeach SkyLeach added bug Something isn't working question Further information is requested labels Apr 17, 2018
SkyLeach pushed a commit that referenced this issue Apr 17, 2018
@numirias
Copy link

I'm right now tackling a similar obscure race condition in a different plugin (numirias/semshi#11). We have a ticket at neovim/pynvim#341. If you think this may have the same root cause and you got some additional information, feel free to chime in over there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants