ycm-core / YouCompleteMe

A code-completion engine for Vim
http://ycm-core.github.io/YouCompleteMe/
GNU General Public License v3.0
25.48k stars 2.81k forks source link

IndexError: bitset::set: __position Inserting Non ascii characters #2103

Closed bougar closed 8 years ago

bougar commented 8 years ago

Hey everyone. First of all congratulations by the projects, The plugin makes vim more user friendly. I would like tell you my problem. I am running VIM - Vi IMproved 7.4 on a Debian 8 machine. When I write a word with a non-ascii character ( for example 'ç' ) I get the next error. "IndexError: bitset::set: __position (which is 18446744073709551555) >= _Nb (whic h is 128)". It is annoying because this error reappear each time I type a char until space is pressed. YCM error log: http://pastebin.com/v8mYEget A test case would be something like open a .cpp or a .py file with vim and type something like: "aa aÇbbbbbb" Each time I type b the error reappear. If I could just disable the message I would be happy :D. Thanks by your attention.

Valloric commented 8 years ago

Hang tight, we're working on this.

bougar commented 8 years ago

Thank you by solve the issue :D

puremourning commented 8 years ago

This should be resolved by https://github.com/Valloric/ycmd/pull/453

micbou commented 8 years ago

Fixed by PR Valloric/ycmd#463.