Error detected while processing function

190 views
Skip to first unread message

Fraser Cormack

unread,
Jun 6, 2014, 5:25:24 AM6/6/14
to ycm-...@googlegroups.com
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?

Val Markovic

unread,
Jul 21, 2014, 7:03:26 PM7/21/14
to Fraser Cormack, ycm-...@googlegroups.com
This has recently been fixed. Please update to the latest YCM.


--
You received this message because you are subscribed to the Google Groups "ycm-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ycm-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ycm-users/223377e9-5b0d-46f0-b7c2-7eb895927cf7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

台山仔

unread,
Apr 16, 2015, 1:42:36 PM4/16/15
to ycm-...@googlegroups.com
I used 
brew install vim,  
brew install python
and the last YCM from github. 

when I open a Perl moule( that extend from Moose ) then type:

$self->f      

then vim give me error result is below:

Error detected while processing function youcompleteme#Complete..<SNR>155_GetCompletions:
line    1:
Traceback (most recent call last):

Please have a look,   
Thanks

Reply all
Reply to author
Forward
0 new messages