pycryptopp setup.py test gives ImportError with ostream_insert on CentOS5 i386

Andy Cress acress at unitrends.com
Fri May 23 16:33:07 UTC 2014


Zooko,

Thanks for your reply.
I have downloaded and built it.
# python2.7 ./setup.py build test
The build ran fine but the test had the ImportError with ostream.

I tried the egg from your link, and it gets a different error:
ImportError: /usr/lib/python2.7/site-packages/pycryptopp-0.6.0.1206569328141510525648634803928199668821045408958-py2.7-linux-i686.egg/pycryptopp/_pycryptopp.so: ELF file OS ABI invalid

Andy

-----Original Message-----
From: Zooko Wilcox-OHearn [mailto:zooko at leastauthority.com] 
Sent: Friday, May 23, 2014 1:00 AM
To: Andy Cress
Cc: tahoe-dev at tahoe-lafs.org
Subject: Re: pycryptopp setup.py test gives ImportError with ostream_insert on CentOS5 i386

On Thu, May 22, 2014 at 5:02 PM, Andy Cress <acress at unitrends.com> wrote:
>
> With pycryptopp-0.5.29 and 
> pycryptopp-0.6.0.1206569328141510525648634803928199668821045408958
>
> I get an ImportError with ostream_insert during the 'test' on CentOS5 i386.

Did you build pycryptopp yourself or did you let the Tahoe-LAFS setup.py download a pycryptopp binary?

If you let the Tahoe-LAFS setup.py fetch one, it might have fetched the Python 2.7 linux-x86 pycryptopp from here:
https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-eggs/README.html
.

I think it is probably a mistake on our part to try to host those binaries for Linux, because the egg format doesn't convey enough information for us to build binaries that will work on all linux-x86 systems. If you could confirm whether that was the package that caused this trouble for you, I'll go ahead and take it down and stop hosting it.

If you built the pycryptopp binary yourself and then go that error, please tell us more so we can help debug it.

By the way, it looks like you work for this company:
http://www.unitrends.com/ . It would be great if a company like yours started using Tahoe-LAFS to protect your own data and/or your customers' data! Let us know how we can help.

Regards,

Zooko Wilcox-O'Hearn

Founder, CEO, and Customer Support Rep
https://LeastAuthority.com
Freedom matters.


More information about the tahoe-dev mailing list