[Plone-IT] Database in Plone 4.1.4

Yuri yurj a alfa.it
Ven 8 Giu 2012 07:19:22 UTC


puoi usare questo:

http://pypi.python.org/pypi/collective.recipe.zmysqlda/2.0.9

Se non lo vedi, lancia plone in foreground (./bin/instance fg o client1 
fg dopo aver avviato lo zeoserver) e guarda se c'è qualche errore. 
Oppure guarda nei log (instance.log o event.log)

Cmq, nel readme c'è scritto:

   This product is distributed as a NON-BINARY release!

   This product requires compiled Python extensions that are
   NOT included as a binary with this release. You must build
   or install the required extensions using the instructions
   below before the product will work properly!

   Installation

     The Z MySQL database adapter uses the MySQLdb package.
     This must be installed before you can use the Z MySQL DA.
     You can find this at::

         http://sourceforge.net/projects/mysql-python

     You need at least version 1.2.1; 1.2.2 is recommended. If you are
     compiling this yourself, you must use the same python executable
     as your Zope installation uses, otherwise Zope will not find it.

===========

Forse ti manca qualcosa...


Il 07/06/2012 22:58, danielemod ha scritto:
> Premesso l'elenco delle versioni in mio possesso:
> Plone 4.1.4 (4113)
> CMF 2.2.5
> Zope 2.13.12
> Python 2.6.7 (r267:88850, May 2 2012, 10:19:19) [GCC 4.6.1]
> PIL unknown
>
> In alternativa
> visto il troppo datato e abbandonato Gadfly
> ho provato con ZMySQLDA
> con il file e versione: ZMySQLDA-2.0.8.tar.gz
> usando e adattando le istruzioni:
>
>   # Cd / tmp
>   # Tar zxvf ZMySQLDA -2.0.8.tar.gz
>   # Mv lib / python / Prodotti / ZMySQLDA / opt/Zope-2.7/lib/python/Products
> / ZMySQLDA
>
> cambiando l'ultimo comando di "sposta" dei file estratti con "tar"
> nel mio relativo percorso dove è installato Plone 4:
>
> lms a LMSND:~/Plone/zeocluster/products$
>
> ispirato dal post:
> http://plone.293351.n2.nabble.com/How-to-install-MySQLDA-td7385627.html;cid=1339094075386-260
> http://plone.293351.n2.nabble.com/How-to-install-MySQLDA-td7385627.html;cid=1339094075386-260
>
> Il risultato è che continua a mancare nella ZMI nella voce "Add".
> C'è forse da fare un rebuild ?
>
> Help !
>
>
> --
> View this message in context: http://plone-regional-forums.221720.n2.nabble.com/Database-in-Plone-4-1-4-tp7580220p7580221.html
> Sent from the Plone - Italy mailing list archive at Nabble.com.
> _______________________________________________
> Plone-IT mailing list
> Plone-IT a lists.plone.org
> https://lists.plone.org/mailman/listinfo/plone-plone-it
> http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html



Maggiori informazioni sulla lista Plone-IT