← Back to team overview

openstack team mailing list archive

Re: Problems with run_tests.sh on 11.10

 

Oops, sorry about that.  Forgot to check it in the venv, which reveals the
issue:

 % tools/with_venv.sh
jdg@grumpy ~/Projects/OpenStack/nova
 % python
Python 2.7.2+ (default, Oct  4 2011, 20:06:09)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import M2Crypto
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/M2Crypto/__init__.py", line
22, in <module>
    import __m2crypto
ImportError: /usr/local/lib/python2.7/dist-packages/M2Crypto/__m2crypto.so:
undefined symbol: SSLv2_method
>>>


Looking in .venv M2Crypto was NOT installed, I ran things on a clean 11.10
install last night and the results were the same.  Repeat on a clean 11.04
and everything is fine. Looking at the venv setup script to see if I can
figure out why this failed.  Seems odd I've reproduced on multiple machines
but nobody else has seen this?  Maybe there's a step I'm missing still?

John



On Fri, Dec 30, 2011 at 12:13 PM, Jay Pipes <jaypipes@xxxxxxxxx> wrote:

> On Thu, Dec 29, 2011 at 11:27 AM, John Griffith
> <john.griffith@xxxxxxxxxxxxx> wrote:
> > jdg@grumpy /tmp % python
> > Python 2.7.2+ (default, Oct  4 2011, 20:06:09)
> > [GCC 4.6.1] on linux2
> > Type "help", "copyright", "credits" or "license" for more information.
> >>>> import M2Crypto
>
> What does this result in, though?
>
> $> tools/with_venv.sh python
> >>>> import M2Crypto
>
> -jay
>

Follow ups

References