Alec Taylor wrote:
> 
> Detailed installation log
> Starting at Wed Sep 28 00:35:11 EST 2011
> /usr/local/Plone/buildout-cache/eggs/zc.buildout-1.4.4-py2.6.egg/zc/buildout/buildout.py:22:
> DeprecationWarning: the md5 module is deprecated; use hashlib instead
>   from md5 import md5
> Traceback (most recent call last):
>   File "/usr/local/Plone/zinstance/bin/buildout", line 9, in <module>
>     import zc.buildout.buildout
>   File
> "/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.4.4-py2.6.egg/zc/buildout/buildout.py",
> line 22, in <module>
>     from md5 import md5
>   File "/usr/local/Plone/Python-2.6/lib/python2.6/md5.py", line 10, in
> <module>
>     from hashlib import md5
>   File "/usr/local/Plone/Python-2.6/lib/python2.6/hashlib.py", line
> 138, in <module>
>     sha224 = __get_builtin_constructor('sha224')
>   File "/usr/local/Plone/Python-2.6/lib/python2.6/hashlib.py", line
> 66, in __get_builtin_constructor
>     import _sha256
> ImportError: No module named _sha256
> 
> ____
> 
> Good evening,
> 
> As you can see from above, the standalone install (wget
> http://launchpad.net/plone/4.1/4.1/+download/Plone-4.1-UnifiedInstaller-20110907.tgz
> && tar xzfv Plone-4.1-UnifiedInstaller-20110907.tgz && sudo
> ./Plone-4.1-UnifiedInstaller/install.sh standalone) failed on Ubuntu
> 11.10 x64.
> 
> Could you please fix this problem by upgrading to the non-depreciated
> hashlib library (updating code respectively)?
> 

That's a warning, not an error. By reading the traceback you can see that it
actually fails inside hashlib. The problem is presumably down to the python
build not finding the required libraries to build the sha module. You're
probably missing openssl, make sure you install all the required build
dependencies listed at
http://plone.org/documentation/manual/installing-plone/installing-on-linux-unix-bsd/debian-libraries

Laurence

--
View this message in context: 
http://plone.293351.n2.nabble.com/Plone-setup-failed-on-Ubuntu-11-10-YOU-need-to-replace-md5-with-hashlib-tp6836187p6837586.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.
_______________________________________________
Setup mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/plone-setup

Reply via email to