You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LeaderF doesn't work after I updated it to the newest version.
My environment is Window10 + msys2 + mingw-w64-x86_64-python3
Steps to reproduce
:LeaderfFile
Actual behaviour
Console show error message:
Error detected while processing functionleaderf#File#startExpl[2]..leaderf#LfPy:
line 1:
Request from non-main thread.
Requests from different threads should be wrapped with nvim.async_call(cb, ...)
File "D:/tool/dev/msys64/mingw64/lib/python3.7\threading.py", line 917, in _bootstrap_inner
self.run()
File "D:/tool/dev/msys64/mingw64/lib/python3.7\threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "D:\tool\dev\msys64\home\John\.vim\plugged\LeaderF\autoload/leaderf/python\leaderf\asyncExecutor.py", line 28, in _readerThread
max_count = int(lfEval("g:Lf_MaxCount"))
File "D:/tool/dev/msys64/mingw64/lib/python3.7/site-packages\pynvim\plugin\script_host.py", line 204, ineval
obj = self.request("vim_eval", expr)
Request from non-main thread.
Requests from different threads should be wrapped with nvim.async_call(cb, ...)
File "D:/tool/dev/msys64/mingw64/lib/python3.7\threading.py", line 917, in _bootstrap_inner
self.run()
File "D:/tool/dev/msys64/mingw64/lib/python3.7\threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "D:\tool\dev\msys64\home\John\.vim\plugged\LeaderF\autoload/leaderf/python\leaderf\asyncExecutor.py", line 28, in _readerThread
max_count = int(lfEval("g:Lf_MaxCount"))
File "D:/tool/dev/msys64/mingw64/lib/python3.7/site-packages\pynvim\plugin\script_host.py", line 204, ineval
obj = self.request("vim_eval", expr)
Exception in thread Thread-1:
Traceback (most recent call last):
File "D:/tool/dev/msys64/mingw64/lib/python3.7\threading.py", line 917, in _bootstrap_inner
self.run()
File "D:/tool/dev/msys64/mingw64/lib/python3.7\threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "D:\tool\dev\msys64\home\John\.vim\plugged\LeaderF\autoload/leaderf/python\leaderf\asyncExecutor.py", line 28, in _readerThread
max_count = int(lfEval("g:Lf_MaxCount"))
File "D:/tool/dev/msys64/mingw64/lib/python3.7/site-packages\pynvim\plugin\script_host.py", line 204, ineval
obj = self.request("vim_eval", expr)
File "D:/tool/dev/msys64/mingw64/lib/python3.7/site-packages\pynvim\api\nvim.py", line 178, in request
raise NvimError("request from non-main thread")
pynvim.api.nvim.NvimError: request from non-main thread
Exception in thread Thread-2:
Traceback (most recent call last):
File "D:/tool/dev/msys64/mingw64/lib/python3.7\threading.py", line 917, in _bootstrap_inner
self.run()
File "D:/tool/dev/msys64/mingw64/lib/python3.7\threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "D:\tool\dev\msys64\home\John\.vim\plugged\LeaderF\autoload/leaderf/python\leaderf\asyncExecutor.py", line 28, in _readerThread
max_count = int(lfEval("g:Lf_MaxCount"))
File "D:/tool/dev/msys64/mingw64/lib/python3.7/site-packages\pynvim\plugin\script_host.py", line 204, ineval
obj = self.request("vim_eval", expr)
File "D:/tool/dev/msys64/mingw64/lib/python3.7/site-packages\pynvim\api\nvim.py", line 178, in request
raise NvimError("request from non-main thread")
pynvim.api.nvim.NvimError: request from non-main thread
The text was updated successfully, but these errors were encountered:
vim --version
ornvim --version
: v 0.3.1:echo has("python")
: 0:echo has("python3")
: 1:echo &pythondll
(only vim, not neovim)::echo &pythonthreedll
(only vim, not neovim)::py print(sys.version)
::py3 print(sys.version)
: 3.7.1 (default, Oct 21 2018, 19:06:06) [GCC 8.2.0 64 bit (AMD64)]:echo g:Lf_Debug_Cmd
:Describe your question, feature request, or bug.
LeaderF doesn't work after I updated it to the newest version.
My environment is Window10 + msys2 + mingw-w64-x86_64-python3
Steps to reproduce
Actual behaviour
Console show error message:
The text was updated successfully, but these errors were encountered: