cleverfox / conque

Automatically exported from code.google.com/p/conque
0 stars 0 forks source link

ConqueTerm causes MacVim to close with error ImportError: No module named site #72

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install MacVim using homebrew, ConqueTerm from .vba file
2. Type :ConqueTerm bash into newly opened MacVim

What is the expected output? What do you see instead?
Instead of ConqueTerm window appearing, the MacVim window dissapears (although 
the application is still running in the background), and "ImportError: No 
module named site" appears in the terminal.

What version of the product are you using? On what operating system?
ConqueTerm 2.3, MacVim 7.3 (62), OS X 10.7.2

Please provide any additional information below.
I have checked in the /lib directory pointed at by $PYTHONPATH and site.py does 
exist. Running python from macvim using ":! python" and typing "import site" is 
succesfull.

Original issue reported on code.google.com by yann.swe...@gmail.com on 9 Nov 2011 at 10:12

GoogleCodeExporter commented 9 years ago
Hmm. I don't use the site module explicitly in Conque. This may just be a Vim 
build issue.

What happens when you try to run some basic python code using the python 
interface?

E.g.:

:python print 2 + 2
or
:python import os

Note that I'm *not* using the :! syntax.

Original comment by nicora...@gmail.com on 9 Nov 2011 at 10:48

GoogleCodeExporter commented 9 years ago
Thanks for the prompt reply.

typing ":python print 2 + 2" or any other simple python command into MacVim 
causes the same crash; the window closes and "ImportError: No module named 
site" appears in the terminal. 

Original comment by yann.swe...@gmail.com on 9 Nov 2011 at 10:58

GoogleCodeExporter commented 9 years ago
This is a problem with your Vim installation. I sadly am not a Mac user, so I 
can't be of too much help.

You may have better luck building Vim from source, or at least may get some 
helpful crashes trying to build it that way.

Original comment by nicora...@gmail.com on 9 Nov 2011 at 11:11