ninja-ide/ninja-ide — Issue #62: Change syntax for file without syntax highlighting fail
Author: diegosarmentero
Created: 2011-11-17 20:12:25+00:00
State: open

Traceback (most recent call last):
File "/media/GATO/programacion/ninja/ninja-ide/ninja_ide/gui/editor/pep8_checker.py", line 53, in run
line += p + '\n'
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 64: ordinal not in range(128)
Traceback (most recent call last):
File "/media/GATO/programacion/ninja/ninja-ide/ninja_ide/gui/editor/pep8_checker.py", line 53, in run
line += p + '\n'
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 64: ordinal not in range(128)
Traceback (most recent call last):
File "/media/GATO/programacion/ninja/ninja-ide/ninja_ide/gui/main_panel/main_container.py", line 653, in _specify_syntax
widget.restyle(syntaxLang)
File "/media/GATO/programacion/ninja/ninja-ide/ninja_ide/gui/editor/editor.py", line 232, in restyle
self.highlighter.apply_highlight(
AttributeError: 'NoneType' object has no attribute 'apply_highlight'