【发布时间】:2012-08-23 13:00:26
【问题描述】:
大家好,我正在尝试启动我的 Vim,所以我开始使用 GitHub 上的插件,但在安装 PyFlakes plugin 后出现此错误:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "<string>", line 82, in check
File "/usr/lib/pymodules/python2.7/pyflakes/checker.py", line 176, in __init__
self.handleChildren(tree)
File "/usr/lib/pymodules/python2.7/pyflakes/checker.py", line 267, in handleChildren
for node in tree.getChildNodes():
AttributeError: 'Module' object has no attribute 'getChildNodes'
我在我的 dotfiles 存储库中使用 PyFlakes 作为子模块,因此我不能按照插件 GitHub 上的 issue 27 中的建议使用 git clone --recursive。我的 Vim 7.3 编译时支持 Python。
谁能帮我解决这个问题?
【问题讨论】: