I've been getting this error recently, I believe since updating to the latest version of vim (7.4, patches 1-307).
Error detected while processing function <SNR>38_OnInsertLeave..<SNR>38_OnFileReadyToParse..<SNR>38_UpdateDiagnosticNotifications:
line 9:
Traceback (most recent call last):
Error detected while processing function <SNR>38_OnInsertLeave..<SNR>38_OnFileReadyToParse..<SNR>38_UpdateDiagnosticNotifications:
line 9:
File "<string>", line 1, in <module>
Error detected while processing function <SNR>38_OnInsertLeave..<SNR>38_OnFileReadyToParse..<SNR>38_UpdateDiagnosticNotifications:
line 9:
File "/home/fraser/.vim/bundle/YouCompleteMe/autoload/../python/ycm/youcompleteme.py", line 299, in UpdateDiagnosticInterface
Error detected while processing function <SNR>38_OnInsertLeave..<SNR>38_OnFileReadyToParse..<SNR>38_UpdateDiagnosticNotifications:
line 9:
self.GetDiagnosticsFromStoredRequest() )
Error detected while processing function <SNR>38_OnInsertLeave..<SNR>38_OnFileReadyToParse..<SNR>38_UpdateDiagnosticNotifications:
line 9:
File "/home/fraser/.vim/bundle/YouCompleteMe/autoload/../python/ycm/diagnostic_interface.py", line 51, in UpdateWithNewDiagnostics
Error detected while processing function <SNR>38_OnInsertLeave..<SNR>38_OnFileReadyToParse..<SNR>38_UpdateDiagnosticNotifications:
line 9:
self._next_sign_id )
Error detected while processing function <SNR>38_OnInsertLeave..<SNR>38_OnFileReadyToParse..<SNR>38_UpdateDiagnosticNotifications:
line 9:
File "/home/fraser/.vim/bundle/YouCompleteMe/autoload/../python/ycm/diagnostic_interface.py", line 117, in _UpdateSigns
Error detected while processing function <SNR>38_OnInsertLeave..<SNR>38_OnFileReadyToParse..<SNR>38_UpdateDiagnosticNotifications:
line 9:
_DiagnosticIsError( diag ) )
Error detected while processing function <SNR>38_OnInsertLeave..<SNR>38_OnFileReadyToParse..<SNR>38_UpdateDiagnosticNotifications:
line 9:
File "/home/fraser/.vim/bundle/YouCompleteMe/autoload/../python/ycm/vimsupport.py", line 145, in PlaceSign
Error detected while processing function <SNR>38_OnInsertLeave..<SNR>38_OnFileReadyToParse..<SNR>38_UpdateDiagnosticNotifications:
line 9:
sign_id, line_num, sign_name, buffer_num ) )
Error detected while processing function <SNR>38_OnInsertLeave..<SNR>38_OnFileReadyToParse..<SNR>38_UpdateDiagnosticNotifications:
line 9:
vim.error: Vim(sign):E885: Not possible to change sign YcmWarning
Here's the function in full:
def PlaceSign( sign_id, line_num, buffer_num, is_error = True ):
sign_name = 'YcmError' if is_error else 'YcmWarning'
vim.command( 'sign place {0} line={1} name={2} buffer={3}'.format(
sign_id, line_num, sign_name, buffer_num ) )
Is anyone else experiencing this?