Ycmd server crashes when opening a file in a folder containing a file named commands.py
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vim-youcompleteme (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
On Ubuntu 17.04 (development branch), vim-youcompleteme version 0+20161219+
Youcompleteme works perfectly well in most situations. Except when vim is launched in a folder containing a file named 'commands.py' (irrespective of the contents of the file, even if it is empty) - in that case, the Ycmd server crashes. All the log files are empty, but this is what I see in vim:
"test.cpp" [New File]
Error detected while processing function youcompleteme#
line 13:
Traceback (most recent call last):
Press ENTER or type command to continue
Error detected while processing function youcompleteme#
line 13:
File "<string>", line 1, in <module>
Press ENTER or type command to continue
Error detected while processing function youcompleteme#
line 13:
File "/usr/share/
Press ENTER or type command to continue
Error detected while processing function youcompleteme#
line 13:
self.
Press ENTER or type command to continue
Error detected while processing function youcompleteme#
line 13:
File "/usr/share/
Press ENTER or type command to continue
Error detected while processing function youcompleteme#
line 13:
server_stderr = '\n'.join(
Press ENTER or type command to continue
Error detected while processing function youcompleteme#
line 13:
TypeError: sequence item 0: expected str instance, bytes found