Package: vim-youcompleteme Version: 0+20160327+git1b76af4-2 Followup-For: Bug #850113
Dear Maintainer, It looks like this error is actually coming from ycmd and the `KeyError` is a side effect. I've run wireshark and filtered for youcompleteme HTTP requests, and it looks like the server is returning an error for all requests. (It's possibly related to #849239) Here is a relevant request and response from a wireshark capture of localhost ``` GET /healthy HTTP/1.1 Host: 127.0.0.1:55763 User-Agent: python-requests/2.12.4 Accept: */* Accept-Encoding: gzip, deflate Connection: keep-alive content-type: application/json x-ycm-hmac: QeYZNi/+l9FJz3y2KX2cx7Kk7I6mSbLPqRpR2SBgHRU= HTTP/1.1 500 INTERNAL SERVER ERROR Content-Length: 58 Content-Type: text/html; charset=UTF-8 Date: Wed, 11 Jan 2017 22:15:50 GMT Server: waitress <h1>Critical error while processing request: /healthy</h1> ``` As you can see, the error response has no ycm-x-hmac header (probably as a side effect of a crash in ycmd (corresponding log from `/tmp/ycm_temp/stderr_$PID.log`: ``` 2017-01-11 22:20:07,522 - INFO - Received event notification 2017-01-11 22:20:07,523 - INFO - Received event notification 2017-01-11 22:20:07,524 - INFO - Adding buffer identifiers for file: /home/luke/test.c <h1>Critical error while processing request: /event_notification</h1><h1>Critical error while processing request: /event_notification</h1>2017-01-11 22:20:07,903 - INFO - Received health request <h1>Critical error while processing request: /healthy</h1>2017-01-11 22:20:07,911 - INFO - Received filetype completion available request ``` I remember seeing some recent updates to python-waitress, but I was unable to check with an older version: ``` sudo apt-get install python-waitress=0.8.10-1 [sudo] password for luke: Reading package lists... Done Building dependency tree Reading state information... Done E: Version '0.8.10-1' for 'python-waitress' was not found ``` Happy to dig deeper if it will help Best Luke -- System Information: Debian Release: stretch/sid APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.8.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages vim-youcompleteme depends on: ii python3-future 0.15.2-4 ii python3-requests 2.12.4-1 ii python3-requests-futures 0.9.7-1 pn python3:any <none> ii vim-nox [vim-python] 2:8.0.0134-1 ii ycmd 0+20160327+gitc3e6904-1+b1 Versions of packages vim-youcompleteme recommends: ii vim-addon-manager 0.5.6 vim-youcompleteme suggests no packages. -- no debconf information