[Plone-IT] Installare PloneFormGen

Lucia Colombo llcolombo a email.it
Ven 23 Maggio 2008 10:15:06 UTC


Il problema credo che sia appunto RichDocument (ma non so perche' ci provi
anche PloneFormGen).
In ognio caso il workaround dovrebbe essere, prima di installare, dalla
configurazione dei kupu linkable types deselezionare richdocument.
A questo punto l'installazione funziona (e lo riaggiunge).

Ciao
Lucia



-----Original Message-----
From: plone-it-bounces a lists.plone.org
[mailto:plone-it-bounces a lists.plone.org] On Behalf Of Redbedbug
Sent: venerd́ 23 maggio 2008 11.58
To: plone-it a lists.plone.org
Subject: [Plone-IT] Installare PloneFormGen

Ciao ml,

Sto cercando (da parecchio :) di installare PloneFormGen su un'installazione
stand-alone di Plone 3.0.6 aggiornata a Plone 3.1.1.

nel README leggo nel campo Dependencies:

****
Requires PythonField, TALESField and TemplateFields from Jens W.
Klein's ScriptableFields bundle:
http://plone.org/products/scriptablefields/
(automatically loaded if you use buildout or easy_install).

Five, version 1.2 or later. If you have an earlier version of Five and do
not wish to upgrade Five, see the note on this in the Installation section
below.
***

Ho provato sia ad installare manualmente nella classica maniera tutti i
prodotti (five escluso visto che gia` era ad una versione > delle 1.2) sia
utilizzando easy_install che buildout.

Niente da fare. Quando provo ad installare PloneFormGen 1.2.3 sia
dall'interfaccia di Plone che da ZMI ottengo questo errore:

***
Exception Type  	KupuError
Exception Value 	Resource type: linkable, invalid type:
RichDocument

Traceback (innermost last):

    * Module ZPublisher.Publish, line 119, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 42, in call_object
    * Module Products.CMFQuickInstallerTool.QuickInstallerTool, line
    * 556, in installProducts
    * Module Products.CMFQuickInstallerTool.QuickInstallerTool, line
    * 481, in installProduct
      __traceback_info__: ('PloneFormGen',)
    * Module Products.ExternalMethod.ExternalMethod, line 231, in
    * __call__
      __traceback_info__: ((<PloneSite at /test-test>,), {}, None)
    * Module
    *
/opt/Plone-3.0.6/Python-2.4.4/lib/python2.4/site-packages/Products.PloneForm
Gen-1.2.3-py2.4.egg/Products/PloneFormGen/Extensions/Install.py,
    * line 118, in install
    * Module Products.kupu.plone.librarytool, line 239, in
    * updateResourceTypes
    * Module Products.kupu.plone.librarytool, line 210, in
    * _validate_portal_types

KupuError: Resource type: linkable, invalid type: RichDocument
***

Se provo ad installare Richdocument 3.0.1 ottengo questo:

***
Exception Type  	KupuError
Exception Value 	Resource type: linkable, invalid type:
RichDocument

Traceback (innermost last):

    * Module ZPublisher.Publish, line 119, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 42, in call_object
    * Module Products.CMFQuickInstallerTool.QuickInstallerTool, line
    * 556, in installProducts
    * Module Products.CMFQuickInstallerTool.QuickInstallerTool, line
    * 479, in installProduct
      __traceback_info__: ('RichDocument',)
    * Module Products.ExternalMethod.ExternalMethod, line 231, in
    * __call__
      __traceback_info__: ((<PloneSite at /test-test>,),
{'reinstall': False}, (False,))
    * Module
    *
/opt/Plone-3.0.6/zinstance/Products/RichDocument/Extensions/Install.py,
    * line 31, in install
    * Module Products.CMFQuickInstallerTool.QuickInstallerTool, line
    * 493, in installProduct
      __traceback_info__: ('SimpleAttachment',)
    * Module Products.GenericSetup.tool, line 390, in
    * runAllImportStepsFromProfile
      __traceback_info__:
profile-Products.SimpleAttachment:SimpleAttachment
    * Module Products.GenericSetup.tool, line 1179, in
    * _runImportStepsFromContext
    * Module Products.GenericSetup.tool, line 1093, in _doRunImportStep
      __traceback_info__: simpleattachment
    * Module Products.SimpleAttachment.setuphandlers, line 25, in
    * setupAttachments
    * Module Products.kupu.plone.librarytool, line 239, in
    * updateResourceTypes
    * Module Products.kupu.plone.librarytool, line 210, in
    * _validate_portal_types

KupuError: Resource type: linkable, invalid type: RichDocument
***

Col debugger non ottengo nulla di preoccupante.
Lo stesso problema l'ottengo su un'installazione ZEO da zero di Plone
3.1.1 (importando solo il Data.fs ecc.).
In un'installazione locale (tra l'altro vecchio backup di questa
applicazione, rimasta Plone 3.0.6, quindi non aggiornata a Plone 3.1.1 alla
prima botta ho installato PloneFormGen tramite easy_install.

Avete qualche suggerimento?

Redbedbug.


 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Scopri le tue passioni con Leonardo.it!
* 
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?midv57&d#-5




Maggiori informazioni sulla lista Plone-IT