Issue #30 new

import site failed

optimizer
created an issue

I'm using python 2.7.2 built as a framework on OSX 10.6 via homebrew. Gundo is loaded into Vim 7.3.333 via pathogen. When I issue :GundoToggle I get the following:

{{{ 'import site' failed; use -v for traceback Error detected while processing function gundo#GundoToggle..<SNR>45_GundoToggle..<SNR>45_GundoOpen: line 6: Traceback (most recent call last): File "<string>", line 1, in <module> File "/Users/dpo/.vim/bundle/gundo/autoload/gundo.py", line 11, in <module> import difflib ImportError: No module named difflib line 7: Traceback (most recent call last): File "<string>", line 1, in <module> "Gundo_Preview" [New File] Error detected while processing function gundo#GundoToggle..<SNR>45_GundoToggle..<SNR>45_GundoOpen..<SNR>45_GundoRenderGraph: line 4: Traceback (most recent call last): File "<string>", line 1, in <module> NameError: name 'GundoRenderGraph' is not defined Error detected while processing function gundo#GundoToggle..<SNR>45_GundoToggle..<SNR>45_GundoOpen..<SNR>45_GundoRenderPreview: line 4: Traceback (most recent call last): File "<string>", line 1, in <module> NameError: name 'GundoRenderPreview' is not defined }}}

The command "import difflib" works fine from the command line. The file site.py is present in the Python lib dir. Any idea what's going on here?

Thanks.

Comments (0)

  1. Log in to comment