Questions tagged [error]

Requests to interpret and troubleshoot error messages from Vi / Vim.

Filter by
Sorted by
Tagged with
1
vote
1answer
16 views

gvim: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying

I use Cygwin's X-windows. For Gvim (not Vim) I've gotten warnings similar to the following for years: ** (gvim:432): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error....
0
votes
0answers
25 views

Suppress Deprecation Warning from Python

I am using gVim on Windows, and when I enter insert mode for the first time on a fresh document I am hit with a deprecation warning from Python regarding the imp package. This is quite jarring and I ...
1
vote
1answer
53 views

How can I return to the file that I'm editing when I execute it from inside Vim?

Let's say that I have the following node.js script: console.log("test") If I use the command :set makeprg=node\ % | set autowrite | make I'll execute this node.js code and see the following ...
2
votes
2answers
119 views

Copy vim messages into clipboard

When I'm confronting a bug of a plugin and an error message pops up like this one: E5018: Error executing lua ... and if I want to report this bug, I always have to type this error message manually. ...
0
votes
0answers
15 views

What is wrong with this errorformat for pdk test unit messages?

Imagine :make outputs the following messages: error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'dupa' (file: /home/kamil/ncbj/...
0
votes
1answer
268 views

"command not found" error using filetype plugin [closed]

I am trying to add filetype plugin indent on to my vimrc, and I'm getting the error filetype: command not found. I tried searching but can't find a solution. I have the full vim package installed (not ...
0
votes
1answer
53 views

How to implement an autocommand that deletes a buffer when it's being hidden and when it hasn't been modified in the last N seconds?

I'm trying to implement a simple autocommand, which deletes a buffer when it's hidden, with a condition that the file hasn't been modified in the last N seconds. I have the following code in ~/.vim/...
0
votes
0answers
14 views

How to display Vim confirmation prompts in French but error messages in English

Is there a way to make Vim display confirmation prompts in French but error messages in English? I have gotten very used to responding to the French confirmation prompts. A change to English would ...
2
votes
0answers
348 views

Strange error when closing Vim

I'm victim of a witchcraft. Likely my own. There's no Vim session open, based on the empty output of pidof vim and can open a new or existing file just fine. When I quit it with :q, however, I see to ...
0
votes
2answers
57 views

vim get error properly formatted in quickfix

Please find my minimal vimrc (whatever I use for Latex compilation) "General "{{{ set nocompatible " because vim is not vi "set autowrite ...
0
votes
1answer
70 views

Can't use the usual !!foo in vim // gvim on Windows 10 - missing tmp files

I'm running vim // gvim 8.2 (fresh off of vim.org, and was before---just re-installed to do so as administrator, per instructions I'd missed before). I've been getting this since getting this Windows ...
1
vote
1answer
37 views

Difference between make and make!

According to the help page the only difference between :make and :make! is that the latter doesn't jump to the first error. So why isn't :make! <Bar> silent cnext<CR> equivalent to :make? ...
0
votes
1answer
40 views

How to track down the code during debugging?

The problem I'm trying to troubleshoot now is specific to recent neovim 0.5.0 (exact version I'm using is NVIM v0.5.0-ef3230f35 but this issue reproduces in the same way on all my machines each ...
0
votes
1answer
559 views

Gvim E370: cannot load library python36.dll with installed Python 3.8

I get often error E370: cannot load library python36.dll while using different plugins like: Fugitive.vim. I have Python 3.8 install with proper PATH. Is it possible to force Gvim to use python38.dll ...
0
votes
1answer
84 views

Multiline context errors

Sometimes I see multiline popup-base errors in screencasts like the one below: Would anyone point me with a term or something to google it, as my ideas don't work for some reason? Here's configs of ...
0
votes
1answer
665 views

Can't use python inputs in Vim

I'm new to Vim. I ran the code print("Hello world") name = input("Name: ") print("Hello",name) and then ran it using :w !python and got the result Hello world Name: ...
0
votes
1answer
157 views

Ignore error on specific character in .vimrc

I'm using the accepted answer in this post, and as such, tried using the character * in my .vimrc, but it seems to generate E20: Mark not set as error, which i want to ignore (only for the instance ...
0
votes
1answer
45 views

Adding python directory

After following some advice my vimrc contains: set rnu set nu set autoindent set pythonthreedll=C:\Program Files (x86)\Vim\vim82\autoload\python37.dll set pythonthreehome=C:\Program Files (x86)\Vim\...
2
votes
0answers
105 views

YouCompleteMe unavailable: unable to load Python [duplicate]

I have done PlugInstall but it gives: YouCompleteMe unavailable: unable to load Python. The same error happens while loading UltiSnips: E370: Could not load python36.dll My vimrc: set rnu set nu ...
1
vote
1answer
869 views

Error in editing vimrc

I wrote :e $MYVIMRC to edit my vimrc and after adding my edits. I wanted to save and exit :wq but then it says: E505: C:.... is read only press ! to override so I write :wq! but it doesn't exit the ...
3
votes
1answer
330 views

Gvim throws the error 'E285: Failed to create input context'

I'm running into a bothersome issue I can't seem to solve myself. When I open gvim I receive the error E285: Failed to create input context The error always comes twice, and looks to be related to ...
1
vote
0answers
10 views

How to access subprocess exit code [duplicate]

I want to write function that passes current line and file to external program and saves its output into register, e.g: function Foo() let l:current_line = line(".") let l:current_file = expand("%...
0
votes
1answer
19 views

enew is not allowed when used inside a function called by nnoremap <expr>

I have a function: function myPlugin#myFunc() " .... enew termopen(['cmd', 'here'], termopen_opts) endfunction And in my plugin/myPlugin.vim I do: nnoremap <expr> <leader>e ...
1
vote
1answer
72 views

How to ignore or silence errors in operator-pending mappings?

The following operator-depending mapping works great for me, onoremap <silent> a$ :<C-U>normal! hEF$v,<CR> except when it is issued at the very beginning of a line. What happens is ...
0
votes
1answer
243 views

How to get rid of an error message from 'deoplete'

Every time I run vim I receive the following error message that disappear afterwords. What can I do to get rid of that message or to get rid of the problem? [deoplete] [yarp] [deoplete] job is dead. ...
2
votes
1answer
101 views

YCM causes some error while loading nerdtree

I'm using vim to do my code job and I installed Nerdtree and YCM. With this merge, YCM has two functions, which allows us to get the error and warning counts. Here is my .vimrc: autocmd VimEnter * ...
1
vote
1answer
113 views

Why do mappings abort on errors?

According to this answer, if a error occurs during the execution of a mapping, its execution is aborted. Why is it like that and: 1) Is there a way to prevent this from happening? 2) In the case of ...
2
votes
0answers
586 views

How can I show the error messages that may appear at startup?

I am getting an error message about my terminal setting when I start Vim, but it just appears on the screen for a second, so it is hard to read. I tried :messages but it is not shown. How can get ...
2
votes
1answer
23 views

Can't exit buffer using leader mapping - 'cannot make changes'

I have a leader key set up, and a mapping that allows me to exit windows without typing :: let mapleader = 'f' map <leader>q = :q<CR> Today I installed MattesGroeger/vim-bookmarks using ...
1
vote
1answer
417 views

Error E575 when starting VIM

When I start vim on my Mac using iterm or MacVim I receive the following error message: E575: viminfo: Illegal starting char in line: ^A<ce>^Y^C<f1>H<85><a9>generator<c4>...
1
vote
1answer
471 views

Error detected while processing grammarous.vim: E117: Unknown function

I am trying to install the vim-grammarous plugin for Vim 8.0.1453. I have cloned the repo into my .vim/plugin directory. Now every time I open Vim I get an error message which also occurs when I try ...
0
votes
1answer
159 views

Missing doc comment errors

Just started to look into VIM for my coding. I managed to set up some functionality with pathogen and want to make a slow start to learn VIM. the problem is that when I open a PHP document, I get ...
1
vote
0answers
231 views

Ignore a specific error

How to ignore a specific error (E303 in this case) globally? (don't display it in the console) I wish not to use try...catch if possible.
0
votes
1answer
542 views

Vim error detected

Vim error detected Everytime i quit the vim i got this error, it's just pop up in a second. I already upgrade the vim to the latest version but still got the same error.. How to fix that? The error ...
0
votes
1answer
602 views

Error detected while processing ~/.vim/bundle/python-mode/autoload/pymode/lint.vim

I followed a tutorial toon vim setup and used wget to load someone's .vimrc . On opening a file with vim, i get the following errors: Error detected while processing function pymode#breakpoint#init ...
1
vote
2answers
205 views

Find the function name associated with a number

I'm trying to debug an error in a vim plugin. The only clue I'm getting regarding the location of the error is this message: Error detected while processing function 190[2]..191[15]..218: line 27: &...
2
votes
2answers
479 views

List files if there are too many of them

I often want to open files using the wildcards like :e **/foo.bar However every now and then I get an E77: Too many file names What I would like to have would be to add to that error message a ...
0
votes
0answers
78 views

BufRead autocmd error for "*.*" and E45

I have vim version 7.4.1689. It was running quite smoothly. But recently I noticed a problem that I didn't have before. Whenever I run :help <something> in command mode the following error shows ...
0
votes
1answer
185 views

Configuration from Vim 7 (macOS) to Vim 8 (Ubuntu) results in errors

I'm working long time with my own vimrc and lots of adjustments for different file types, ... in the macOS terminal (Vim 7.4.8056)and (the same config-files) on a rented Apache Server. Now I just ...
1
vote
1answer
73 views

Why do I get "incompatible error" while opening .sh files using vi in cygwin?

I am very much annoyed by this error: $ vi abc.sh Error detected while processing /home/DELL/.virc: line 1: E518: Unknown option: incompatible Press ENTER or type command to continue /bin/bash: ...
0
votes
1answer
88 views

Function Unable to Fail: Breaks Macros

Vim functions do not seem to be able to fail without spitting out 3 unnecessary lines. For example, take this set of functions and maps: " NEXT / PREVIOUS " ~~~~~~~~~~~~~~~ " n and N always search ...
1
vote
1answer
101 views

Netrw error: "Illegal PORT command"

I installed Vim 8.1.1 on Windows 10. My _vimrc in C:\Users\Maggyero has the following lines: set spell set spelllang=en,fr set spellsuggest=5 When I open Vim, I get the following message: Alerte ...
6
votes
1answer
242 views

In Linux, on an extremely long running vim session, calls to system() fail with E484 "can't open file /tmp/<tempfile>"

I've noticed this only on long running vims in my Linux server. I've narrowed down the E484s to lines of my vimscript that call system. I just wonder if there is a way to deal with this because so ...
1
vote
0answers
807 views

Why does "E89: No write since last change" error not occur when commands are joined with bar?

I have :set hidden set in my ~/.vimrc. First I did this: vim foo bar :bnEnter ihelloEsc :bpEnter :bd#Enter The :bd# command leads to this error: E89: No write since last change for buffer 2 (add ! ...
2
votes
1answer
1k views

Why "there was a problem with vi" when saving a git commit message with :wq after accidental :Wq?

When I have typed a commit message with vim and, in haste, typed :Wq instead of :wq I get an error: E492: Not an editor command: Wq from which I can (falsly?) recover, meaning the editor seems to ...
8
votes
1answer
320 views

When should a function *not* be defined with "abort"

If you define a function with the abort argument, your function will abort as soon as an error is detected. Is there any case where this is not what you'd want? Even if your function needs to perform ...
1
vote
1answer
116 views

'Can not set language' error on SpaceVim launch

I'm a very new vim user and I'm enjoying it, so I've decided to try SpaceVim. But each time I launch vim, I see the error Can not set language to en_US.utf8, and vim gives me the option to press and ...
4
votes
2answers
2k views

How can I suppress startup error E575?

If I quit Neovim's containing terminal without exiting Vim first, then the next time I run Neovim I get the error: E575: Error while reading ShaDa file: mark entry at position 2957 has Press ENTER or ...
1
vote
0answers
60 views

How does one automatically run a function when any error message appears?

I would like to play sounds for accessibility reasons. Do I need to patch and compile (neo)vim to provide some sort of OnError autocmd? edit: more generically I'm looking for a way to hook into ...
1
vote
0answers
46 views

Vim cmdline breaks my view of a file when outputting errors from linters

I really don't know how to explain this, but when I get an error in the cmdline with some linters (Ale and Syntastic for example), it shifts up and basically breaks the view of my code. Vim itself ...