[Setup] Re: Install and Uninstall RichDocument

Martin Aspeli optilude at gmx.net
Mon Nov 26 13:41:44 UTC 2007


Chris Chambers wrote:
> 
> Martin Aspeli wrote:
>> You should be able to just install it using the one that *does* have a 
>> tickbox next to it.
>>
> 
> Unfortunately not. There appears to be some disk activity but RichDocument
> and SimpleAttachment are not installed. And when checking in Plone Add-on
> Products it shows they are not installed either. I notice that
> SimpleAttachment is in portal_skins.
> 
>>From command window:
> 
> 2007-11-26 21:54:04 DEBUG txn.3924 commit <Connection at 0574b930>
> 2007-11-26 21:54:04 DEBUG txn.3924 commit
> 2007-11-26 21:54:11 DEBUG txn.3924 new transaction
> 2007-11-26 21:54:11 INFO GenericSetup.rolemap Role / permission map
> imported.
> 2007-11-26 21:54:11 INFO GenericSetup.properties Nothing to import.
> 2007-11-26 21:54:11 INFO GenericSetup.toolset Nothing to import.
> 2007-11-26 21:54:11 INFO GenericSetup.skins Skins tool imported.
> 2007-11-26 21:54:16 INFO GenericSetup.types Types tool imported.
> 2007-11-26 21:54:16 INFO GenericSetup.types 'Document' type info imported.
> 2007-11-26 21:54:16 INFO GenericSetup.types 'Document' type info imported.
> 2007-11-26 21:54:16 INFO GenericSetup.workflow Workflow tool imported.
> 2007-11-26 21:54:16 INFO GenericSetup.resourceregistry Javascript registry:
> Noth
> ing to import
> 2007-11-26 21:54:16 INFO GenericSetup.memberdata Nothing to import.
> 2007-11-26 21:54:16 INFO GenericSetup.resourceregistry KSS registry: Nothing
> to
> import
> 2007-11-26 21:54:16 INFO GenericSetup.resourceregistry Stylesheet registry:
> Noth
> ing to import
> 2007-11-26 21:54:16 INFO GenericSetup.propertiestool Properties tool
> imported.
> 2007-11-26 21:54:16 INFO GenericSetup.plone.app.viewletmanager Nothing to
> import
> 
> 2007-11-26 21:54:17 ERROR Zope.SiteErrorLog
> http://localhost:1028/portal_quickin
> staller/installProducts
> Traceback (innermost last):
>   Module Products.CMFQuickInstallerTool.QuickInstallerTool, line 364, in
> install
> Product
>    - __traceback_info__: ('RichDocument',)
>   Module Products.ExternalMethod.ExternalMethod, line 231, in __call__
>    - __traceback_info__: ((<PloneSite at /Plone>,), {'reinstall': False},
> (False
> ,))
>   Module C:\Program Files (x86)\Plone
> 3\Data\Products\RichDocument\Extensions\In
> stall.py, line 31, in install
>   Module Products.CMFQuickInstallerTool.QuickInstallerTool, line 405, in
> install
> Product
>    - __traceback_info__: ('SimpleAttachment',)
>   Module Products.GenericSetup.tool, line 319, in
> runAllImportStepsFromProfile
>    - __traceback_info__: profile-Products.SimpleAttachment:SimpleAttachment
>   Module Products.GenericSetup.tool, line 1023, in
> _runImportStepsFromContext
>   Module Products.GenericSetup.tool, line 982, 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
> C:\Program Files (x86)\Plone
> 3\Data\Products\CMFQuickInstallerTool\QuickInstalle
> rTool.py:392: DeprecationWarning: This will be removed in ZODB 3.7:
> subtransactions are deprecated; use sp.rollback() instead of
> transaction.abort(1
> ), where `sp` is the corresponding savepoint captured earlier
>   transaction.abort(sub=True)
> 2007-11-26 21:54:17 INFO GenericSetup.rolemap Role / permission map
> imported.
> 2007-11-26 21:54:17 INFO GenericSetup.properties Nothing to import.
> 2007-11-26 21:54:17 INFO GenericSetup.toolset Nothing to import.
> 2007-11-26 21:54:17 INFO GenericSetup.skins Skins tool imported.
> 2007-11-26 21:54:17 INFO GenericSetup.types Types tool imported.
> 2007-11-26 21:54:17 INFO GenericSetup.types 'Document' type info imported.
> 2007-11-26 21:54:17 INFO GenericSetup.types 'Document' type info imported.
> 2007-11-26 21:54:17 INFO GenericSetup.workflow Workflow tool imported.
> 2007-11-26 21:54:17 INFO GenericSetup.resourceregistry Javascript registry:
> Noth
> ing to import
> 2007-11-26 21:54:17 INFO GenericSetup.memberdata Nothing to import.
> 2007-11-26 21:54:17 INFO GenericSetup.resourceregistry KSS registry: Nothing
> to
> import
> 2007-11-26 21:54:17 INFO GenericSetup.resourceregistry Stylesheet registry:
> Noth
> ing to import
> 2007-11-26 21:54:17 INFO GenericSetup.propertiestool Properties tool
> imported.
> 2007-11-26 21:54:17 INFO GenericSetup.plone.app.viewletmanager Nothing to
> import
> 
> 
> I will upgrade to a fresh install of 3.0.3 and start again.

You may have hit a bug in the Kupu library tool (or Quickinstaller). Go 
to the "Visual editor" control panel in Plone's Site Setup, and edit the 
lists of Linkable and Media types. Then try to install.

Martin

-- 
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book




More information about the Setup mailing list