Summary: | Ошибка при обработке | ||||||
---|---|---|---|---|---|---|---|
Product: | Sisyphus | Reporter: | Николай Пряхин <desmond> | ||||
Component: | yospellchecker | Assignee: | Fr. Br. George <george> | ||||
Status: | NEW --- | QA Contact: | qa-sisyphus | ||||
Severity: | normal | ||||||
Priority: | P5 | CC: | george | ||||
Version: | unstable | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Attachments: |
|
Created attachment 9735 [details] Пример Если регистр буквы подлежащей замене отличается от регистра букв этого слова, то плагин выводит ошибку. Обнаружена ошибка при обработке function CorrectYo: строка 4: Traceback (most recent call last): File "<string>", line 2, in <module> File "/usr/share/vim/vimfiles/plugin/yospellchecker/spellchecker.py", line 225, in main spellchecker.necessary_correction() File "/usr/share/vim/vimfiles/plugin/yospellchecker/spellchecker.py", line 93, in necessary_correction self.buffer[matches[i].start():matches[i].end()] = replacement.encode() AttributeError: 'NoneType' object has no attribute 'encode'