[Plone-IT] Database in Plone 4.1.4
danielemod
danielemod a libero.it
Lun 11 Giu 2012 16:59:33 UTC
Un piccolo passo
per una grande pazienza.
Alleluia, ha funzionato il
lancio di Plone in foreground !
Già è qualcosa !
Questo è il risultato da terminale con un "ls" finale (non si sa mai può
servire):
Ora a quanto pare,
per quello che ci capisco io,
ci sono degli errori nel tentativo di caricare
"import_product"
file: Application.py linea 606
e
file: "__init__.py" linea 90
che non riesco a trovare
tranne che come estensione
.pyc (linguaggio python e c !?)
che non sono editabili con Gedit
http://plone-regional-forums.221720.n2.nabble.com/file/n7580251/Selezione_006.jpeg
A seguire,
e posto e allego i codici
dei file
http://plone-regional-forums.221720.n2.nabble.com/file/n7580251/DA.py DA.py
http://plone-regional-forums.221720.n2.nabble.com/file/n7580251/db.py db.py
http://plone-regional-forums.221720.n2.nabble.com/file/n7580251/__init__.py
__init__.py
http://plone-regional-forums.221720.n2.nabble.com/file/n7580251/run.py
run.py
http://plone-regional-forums.221720.n2.nabble.com/file/n7580251/__init__.py
__init__.py
http://plone-regional-forums.221720.n2.nabble.com/file/n7580251/startup.py
startup.py
http://plone-regional-forums.221720.n2.nabble.com/file/n7580251/Application.py
Application.py
dove credo siano più significativi
per ZMySQLDA,
dove ci sono problemi
nel caricare il sudetto
e in particolare nei file "DA.py" linea 92
e il file db.py linea 90
Mi sorge un dubbio,
se non ricordo male
la versione ZMySQLDA non è compatibile con Plone 4.1
Comunque tremo al pensiero che si fa prima a reinstallare Plone.
Yuri-11 wrote
>
> 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 .plone
>> https://lists.plone.org/mailman/listinfo/plone-plone-it
>> http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html
>
> _______________________________________________
> Plone-IT mailing list
> Plone-IT a .plone
> https://lists.plone.org/mailman/listinfo/plone-plone-it
> http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html
>
Yuri-11 wrote
>
> 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 .plone
>> https://lists.plone.org/mailman/listinfo/plone-plone-it
>> http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html
>
> _______________________________________________
> Plone-IT mailing list
> Plone-IT a .plone
> https://lists.plone.org/mailman/listinfo/plone-plone-it
> http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html
>
--
View this message in context: http://plone-regional-forums.221720.n2.nabble.com/Database-in-Plone-4-1-4-tp7580220p7580251.html
Sent from the Plone - Italy mailing list archive at Nabble.com.
Maggiori informazioni sulla lista
Plone-IT