运行Vim插件时的线程错误(CoVim)

时间:2015-10-24 13:22:13

标签: vim vim-plugin

我正在尝试使用https://docs.oracle.com/javase/8/docs/api/javax/script/ScriptEngine.html#put-java.lang.String-java.lang.Object-插件,该插件允许在ViM中进行协作编辑(如google docs)。但是,这样做时,我收到以下错误:

[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
gvim: ../../src/xcb_io.c:179: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
Vim: Caught deadly signal ABRT
Vim: Finished.

Successfully disconnected from document!
Exception RuntimeError: RuntimeError('cannot join current thread',) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored

根据CoVim的文档:

  

&#34;我收到一条提及名为&#34; threading.py&#34; 的Python文件的错误   您当前构建的Vim不会与CoVim合作。 CoVim使用线程,修改Vim缓冲区并不完全是线程安全的。这在大多数构建中都不是问题,但有一些常见问题会导致问题。最新版本(在撰写本文时)与CoVim一起使用。&#34;

但是,据我所知,我正在使用vim的最新版本(我运行sudo apt-get install vim,并使用vim 7.4)。这个问题到底是什么?

0 个答案:

没有答案