Я пытаюсь заставить работать pysmell (https://github.com/orestis/pysmell) - это похоже на хороший инструмент завершения кода для разработки django в vim.
Я на Mac OS X 1.7.1 (Lion) с MacVim 7.3 (снимок 61). Моя версия Python 2.7.
Каждый раз, когда я пытаюсь вызвать omnicompletion в файле Python, я получаю эти ошибки внутри MacVim (вот почему он говорит, Press ENTER or type command to continue
):
Error detected while processing function pysmell#Complete:
line 24:
Traceback (most recent call last):
Press ENTER or type command to continue
Error detected while processing function pysmell#Complete:
line 24:
File "<string>", line 7, in <module>
Press ENTER or type command to continue
Error detected while processing function pysmell#Complete:
line 24:
File "<string>", line 3, in vimcompletePYSMELL
Press ENTER or type command to continue
Error detected while processing function pysmell#Complete:
line 24:
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
/pysmell/idehelper.py", line 56, in findPYSMELLDICT
Press ENTER or type command to continue
Error detected while processing function pysmell#Complete:
line 24:
tryReadPYSMELLDICT(directory, 'PYSMELLTAGS', PYSMELLDICT)
Press ENTER or type command to continue
Error detected while processing function pysmell#Complete:
line 24:
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
/pysmell/idehelper.py", line 42, in tryReadPYSMELLDICT
Press ENTER or type command to continue
Error detected while processing function pysmell#Complete:
line 24:
updatePySmellDict(dictToUpdate, eval(tagsFile.read()))
Press ENTER or type command to continue
Error detected while processing function pysmell#Complete:
line 24:
File "<string>", line 0
Press ENTER or type command to continue
Error detected while processing function pysmell#Complete:
line 24:
Press ENTER or type command to continue
Error detected while processing function pysmell#Complete:
line 24:
^
Press ENTER or type command to continue
Error detected while processing function pysmell#Complete:
line 24:
SyntaxError: unexpected EOF while parsing
Кто-нибудь может распознать эту ошибку / увидеть, что не так, и помочь мне решить ее? Это действительно выглядит как хороший инструмент для pythong / django / независимо от python lib omnicompletion, и я хотел бы попробовать его.
РЕДАКТИРОВАТЬ: удалил все Press ENTER or type command to continue
сообщения
Error detected while processing function pysmell#Complete:
line 24:
Traceback (most recent call last):
Error detected while processing function pysmell#Complete:
line 24:
File "<string>", line 7, in <module>
Error detected while processing function pysmell#Complete:
line 24:
File "<string>", line 3, in vimcompletePYSMELL
Error detected while processing function pysmell#Complete:
line 24:
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
/pysmell/idehelper.py", line 56, in findPYSMELLDICT
Error detected while processing function pysmell#Complete:
line 24:
tryReadPYSMELLDICT(directory, 'PYSMELLTAGS', PYSMELLDICT)
Press ENTER or type command to continue
line 24:
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
/pysmell/idehelper.py", line 42, in tryReadPYSMELLDICT
Error detected while processing function pysmell#Complete:
line 24:
updatePySmellDict(dictToUpdate, eval(tagsFile.read()))
Error detected while processing function pysmell#Complete:
line 24:
File "<string>", line 0
Error detected while processing function pysmell#Complete:
line 24:
Error detected while processing function pysmell#Complete:
line 24:
^
Error detected while processing function pysmell#Complete:
line 24:
SyntaxError: unexpected EOF while parsing