Il 15/11/2012 12.09, consinfo ha scritto:
così ho predisposto una VM con Ubuntu, ho scaricato ed installato Plone 4.2.1
tramite l'Unified Installer e ho importato un backup del sito che presenta
il problema.
ciao, scusa, ma io mi son fermato parecchio prima: ho una vm con Ubuntu 12.10 pulita, lancio unified_installer e molto presto si blocca con errore.

Questa è la parte finale dell'output:
Installing Plone 4.2.1 at /usr/local/Plone

User 'plone' already exists. No need to create it.
Python found at /usr/local/Plone/Python-2.7/bin/python; Skipping Python install.
Unpacking buildout cache to /usr/local/Plone/buildout-cache
Compiling .py files in egg cache
Copying Plone-docs
Your platform's xml2/xslt are up-to-date. No need to build them.
Copying buildout skeleton
Fixing up bin/buildout
Skipping static libxml2/libxslt build.
Building Zope/Plone; this takes a while...
Buildout returned an error code: 1; Aborting.
Buildout failed. Unable to continue

Installation has failed.
See the detailed installation log at /root/Plone/Plone-4.2.1-UnifiedInstaller/install.log
to determine the cause.
guardando il log dettagliato, gli errori che mi saltano all'occhio sono legati alla libreria hashlibe infatti se eseguo il comando "import hashlib" dal python di sistema (2.7.3) non ottengo errori se invece scrivo "import hashlib" dal python di Plone (sempre 2.7.3) ottengo una serie di eccezioni:

 * ERROR:root:code for hash sha224 was not found.
 * ERROR:root:code for hash sha256 was not found.
 * ERROR:root:code for hash sha384 was not found.
 * ERROR:root:code for hash sha512 was not found.



durante i vari tentativi ho installato nel sistema questa roba (forse anche superflua).... ma non basta:
apt-get install libz-dev
apt-get install libssl-dev
apt-get install g++

anche se l'operazione di compilazione di Python va a buon fine, suppongo che manchi qualche libreria, o qualcosa nel sistema.

help needed.


ciao, Giacomo

_______________________________________________
Plone-IT mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/plone-plone-it
http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html

Rispondere a