andreikop / enki

A text editor for programmers
http://enki-editor.org
GNU General Public License v2.0
161 stars 38 forks source link

Error pressing Ctrl+Shift+W #226

Closed yajo closed 10 years ago

yajo commented 10 years ago
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/enki/plugins/navigator/__init__.py", line 108, in run
    result = ctags.processText(task.ctagsLang, task.text, task.sortAlphabetically)
  File "/usr/lib/python2.7/site-packages/enki/plugins/navigator/ctags.py", line 169, in processText
    tags = _parseTags(ctagsLang, stdout)
  File "/usr/lib/python2.7/site-packages/enki/plugins/navigator/ctags.py", line 80, in _parseTags
    name, lineNumber, type_, scopeType, scopeName = _parseTag(line)
  File "/usr/lib/python2.7/site-packages/enki/plugins/navigator/ctags.py", line 40, in _parseTag
    type_ = items[-3]
IndexError: list index out of range
andreikop commented 10 years ago

Hmm. Could you give me a file, on which you got this exception

andreikop commented 10 years ago

The exception should not happen on v14.07.0 (Released just now), but I still would like to have the file to find the root of the crash.

yajo commented 10 years ago

I'm very sorry but yesterday I edited many files and I cannot remember which one was :( . But I'm sure it was in Python.