Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我在编辑文件时在 gvim 中进入插入.py模式时,出现以下错误:
.py
Error detected while processing function <SNR>99_on_insert_enter: line 7: E490: No fold found Press ENTER or type command to continue
这非常烦人,因为我必须按 esc 并再次进入插入模式,或者按 enter。如何找到导致此错误的脚本?
使用:scriptnames并注意以99:;开头的行 它会告诉您哪个脚本包含有问题的行。然后,根据脚本和您的 Vim 知识水平,您可以尝试查找并修复问题,或者只是禁用它所属的有问题的插件。
:scriptnames
99:
嗨 Stackoverflow 社区,我在从我的 java webapp 读取文件时遇到问题。我想从我的 web 应用程序的目录中获取文件,然后将其转换为 PDF。在我的开发环境(Windows)中一切正常,但是当我将它放在服务器(LINUX)上时,当服务器到达代码以读取我的 doc 文件进行转换时,java 抛出此异常: