#9 — GSXML prevents plone site to be created in ZMI

by Daniel Kraft last modified Jan 08, 2009 05:45 PM
State Resolved
Version: 0.4.1
Area Functionality
Issue type Bug
Severity Medium
Submitted by Daniel Kraft
Submitted on Apr 23, 2008
Responsible Stefan Eletzhofer
Target release:
Actually, Version is 0.4.3 (SVN Rev. 63393).

When setting up a plone 3.1 instance with buildout and using inquant.plone.gsxml as to-be-installed dependency in the eggs and zcml part, then starting zope, going to zmi and adding a site is not possible. The following error occurs (sorry if I'm too -v):


/home/wigwam/instances/test/parts/plone/GenericSetup/registry.py:744: DeprecationWarning: Version for profile PluggableAuthService:simple taken from version.txt. This is deprecated behaviour and will be removed in GenericSetup 1.5: please specify the version in metadata.xml.
  DeprecationWarning)
/home/wigwam/instances/test/parts/plone/GenericSetup/registry.py:744: DeprecationWarning: Version for profile PluggableAuthService:empty taken from version.txt. This is deprecated behaviour and will be removed in GenericSetup 1.5: please specify the version in metadata.xml.
  DeprecationWarning)
2008-04-23 23:28:37 INFO Zope.ZCatalog Start migration of indexes for Control_Panel/Products/PythonScripts/Help/catalog
2008-04-23 23:28:37 INFO Zope.ZCatalog processing index permissions
2008-04-23 23:28:37 INFO Zope.ZCatalog processing index categories
2008-04-23 23:28:37 INFO Zope.ZCatalog Finished migration of indexes for Control_Panel/Products/PythonScripts/Help/catalog
2008-04-23 23:28:38 INFO Zope.ZCatalog Start migration of indexes for Control_Panel/Products/Sessions/Help/catalog
2008-04-23 23:28:38 INFO Zope.ZCatalog processing index permissions
2008-04-23 23:28:38 INFO Zope.ZCatalog processing index categories
2008-04-23 23:28:38 INFO Zope.ZCatalog Finished migration of indexes for Control_Panel/Products/Sessions/Help/catalog
2008-04-23 23:28:38 INFO Zope.ZCatalog Start migration of indexes for Control_Panel/Products/SiteAccess/Help/catalog
2008-04-23 23:28:38 INFO Zope.ZCatalog processing index permissions
2008-04-23 23:28:38 INFO Zope.ZCatalog processing index categories
2008-04-23 23:28:38 INFO Zope.ZCatalog Finished migration of indexes for Control_Panel/Products/SiteAccess/Help/catalog
2008-04-23 23:28:38 INFO Zope.ZCatalog Start migration of indexes for Control_Panel/Products/StandardCacheManagers/Help/catalog
2008-04-23 23:28:38 INFO Zope.ZCatalog processing index permissions
2008-04-23 23:28:38 INFO Zope.ZCatalog processing index categories
2008-04-23 23:28:38 INFO Zope.ZCatalog Finished migration of indexes for Control_Panel/Products/StandardCacheManagers/Help/catalog
2008-04-23 23:28:38 INFO Zope.ZCatalog Start migration of indexes for Control_Panel/Products/TemporaryFolder/Help/catalog
2008-04-23 23:28:38 INFO Zope.ZCatalog processing index permissions
2008-04-23 23:28:38 INFO Zope.ZCatalog processing index categories
2008-04-23 23:28:38 INFO Zope.ZCatalog Finished migration of indexes for Control_Panel/Products/TemporaryFolder/Help/catalog
2008-04-23 23:28:38 INFO Zope.ZCatalog Start migration of indexes for Control_Panel/Products/Transience/Help/catalog
2008-04-23 23:28:38 INFO Zope.ZCatalog processing index permissions
2008-04-23 23:28:38 INFO Zope.ZCatalog processing index categories
2008-04-23 23:28:38 INFO Zope.ZCatalog Finished migration of indexes for Control_Panel/Products/Transience/Help/catalog
2008-04-23 23:28:38 INFO Zope.ZCatalog Start migration of indexes for Control_Panel/Products/ZCTextIndex/Help/catalog
2008-04-23 23:28:38 INFO Zope.ZCatalog processing index permissions
2008-04-23 23:28:38 INFO Zope.ZCatalog processing index categories
2008-04-23 23:28:38 INFO Zope.ZCatalog Finished migration of indexes for Control_Panel/Products/ZCTextIndex/Help/catalog
2008-04-23 23:28:38 INFO Zope.ZCatalog Start migration of indexes for Control_Panel/Products/ZCatalog/Help/catalog
2008-04-23 23:28:38 INFO Zope.ZCatalog processing index permissions
2008-04-23 23:28:38 INFO Zope.ZCatalog processing index categories
2008-04-23 23:28:38 INFO Zope.ZCatalog Finished migration of indexes for Control_Panel/Products/ZCatalog/Help/catalog
2008-04-23 23:28:38 INFO Zope.ZCatalog Start migration of indexes for Control_Panel/Products/ZSQLMethods/Help/catalog
2008-04-23 23:28:38 INFO Zope.ZCatalog processing index permissions
2008-04-23 23:28:38 INFO Zope.ZCatalog processing index categories
2008-04-23 23:28:38 INFO Zope.ZCatalog Finished migration of indexes for Control_Panel/Products/ZSQLMethods/Help/catalog
2008-04-23 23:28:38 INFO Zope.ZCatalog Start migration of indexes for Control_Panel/Products/ZopeVersionControl/Help/catalog
2008-04-23 23:28:38 INFO Zope.ZCatalog processing index permissions
2008-04-23 23:28:38 INFO Zope.ZCatalog processing index categories
2008-04-23 23:28:38 INFO Zope.ZCatalog Finished migration of indexes for Control_Panel/Products/ZopeVersionControl/Help/catalog
2008-04-23 23:28:39 INFO Application New disk product detected, determining if we need to fix up any ZClasses.
2008-04-23 23:28:39 INFO Zope Ready to handle requests
2008-04-23 23:28:51 INFO GenericSetup.rolemap Role / permission map imported.
2008-04-23 23:28:51 INFO GenericSetup.toolset Toolset imported.
2008-04-23 23:28:51 INFO GenericSetup.properties Site properties imported.
2008-04-23 23:28:51 INFO GenericSetup.componentregistry Adapters purged.
2008-04-23 23:28:51 INFO GenericSetup.componentregistry Utilities purged.
2008-04-23 23:28:51 INFO GenericSetup.componentregistry Adapters registered.
2008-04-23 23:28:51 INFO GenericSetup.componentregistry Utilities registered.
2008-04-23 23:28:52 INFO GenericSetup.skins Skins tool imported.
2008-04-23 23:28:52 INFO GenericSetup.actions Actions tool imported.
2008-04-23 23:28:52 INFO GenericSetup.controlpanel Control panel imported.
2008-04-23 23:28:52 INFO GenericSetup.types Types tool imported.
2008-04-23 23:28:52 INFO GenericSetup.types 'ATBooleanCriterion' type info imported.
2008-04-23 23:28:52 INFO GenericSetup.types 'ATCurrentAuthorCriterion' type info imported.
2008-04-23 23:28:52 INFO GenericSetup.types 'ATDateCriteria' type info imported.
2008-04-23 23:28:52 INFO GenericSetup.types 'ATDateRangeCriterion' type info imported.
2008-04-23 23:28:52 INFO GenericSetup.types 'ATListCriterion' type info imported.
2008-04-23 23:28:52 INFO GenericSetup.types 'ATPathCriterion' type info imported.
2008-04-23 23:28:52 INFO GenericSetup.types 'ATRelativePathCriterion' type info imported.
2008-04-23 23:28:52 INFO GenericSetup.types 'ATPortalTypeCriterion' type info imported.
2008-04-23 23:28:52 INFO GenericSetup.types 'ATReferenceCriterion' type info imported.
2008-04-23 23:28:52 INFO GenericSetup.types 'ATSelectionCriterion' type info imported.
2008-04-23 23:28:52 INFO GenericSetup.types 'ATSimpleIntCriterion' type info imported.
2008-04-23 23:28:52 INFO GenericSetup.types 'ATSimpleStringCriterion' type info imported.
2008-04-23 23:28:52 INFO GenericSetup.types 'ATSortCriterion' type info imported.
2008-04-23 23:28:52 INFO GenericSetup.types 'Discussion Item' type info imported.
2008-04-23 23:28:52 INFO GenericSetup.types 'Document' type info imported.
2008-04-23 23:28:52 INFO GenericSetup.types 'Event' type info imported.
2008-04-23 23:28:52 INFO GenericSetup.types 'Favorite' type info imported.
2008-04-23 23:28:52 INFO GenericSetup.types 'File' type info imported.
2008-04-23 23:28:52 INFO GenericSetup.types 'Folder' type info imported.
2008-04-23 23:28:52 INFO GenericSetup.types 'Image' type info imported.
2008-04-23 23:28:52 INFO GenericSetup.types 'Large Plone Folder' type info imported.
2008-04-23 23:28:52 INFO GenericSetup.types 'Link' type info imported.
2008-04-23 23:28:52 INFO GenericSetup.types 'News Item' type info imported.
2008-04-23 23:28:52 INFO GenericSetup.types 'Plone Site' type info imported.
2008-04-23 23:28:52 INFO GenericSetup.types 'TempFolder' type info imported.
2008-04-23 23:28:52 INFO GenericSetup.types 'Topic' type info imported.
2008-04-23 23:28:52 INFO GenericSetup.workflow Workflow tool imported.
2008-04-23 23:28:53 INFO GenericSetup.factorytool FactoryTool settings imported.
2008-04-23 23:28:53 INFO GenericSetup.resourceregistry Javascript registry imported.
2008-04-23 23:28:53 INFO GenericSetup. DiffTool settings imported.
2008-04-23 23:28:53 INFO GenericSetup.memberdata MemberData tool imported.
2008-04-23 23:28:53 INFO GenericSetup.contenttypes Content type registry imported.
2008-04-23 23:28:53 INFO GenericSetup.plone.app.viewletmanager Imported.
2008-04-23 23:28:53 INFO GenericSetup.mailhost Mailhost imported.
2008-04-23 23:28:53 INFO GenericSetup.catalog Catalog imported.
2008-04-23 23:28:53 INFO GenericSetup. ATCTTool settings imported.
2008-04-23 23:28:53 INFO GenericSetup.resourceregistry Stylesheet registry imported.
2008-04-23 23:28:53 INFO GenericSetup.resourceregistry KSS registry imported.
2008-04-23 23:28:54 INFO GenericSetup.rolemap Role / permission map imported.
2008-04-23 23:28:54 INFO GenericSetup.toolset Toolset imported.
2008-04-23 23:28:54 INFO GenericSetup.properties Nothing to import.
2008-04-23 23:28:54 INFO GenericSetup.resourceregistry Javascript registry: Nothing to import
2008-04-23 23:28:54 INFO GenericSetup.memberdata Nothing to import.
2008-04-23 23:28:54 INFO GenericSetup.plone.app.viewletmanager Nothing to import
2008-04-23 23:28:54 INFO GenericSetup.resourceregistry Stylesheet registry: Nothing to import
2008-04-23 23:28:54 INFO GenericSetup.resourceregistry KSS registry: Nothing to import
2008-04-23 23:28:54 INFO GenericSetup.propertiestool Nothing to import.
2008-04-23 23:28:54 ERROR Zope.SiteErrorLog http://localhost:8080/[…]/addPloneSite
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.CMFPlone.factory, line 85, in addPloneSite
  Module Products.GenericSetup.tool, line 390, in runAllImportStepsFromProfile
   - __traceback_info__: profile-Products.CMFPlone:plone
  Module Products.GenericSetup.tool, line 1179, in _runImportStepsFromContext
  Module Products.GenericSetup.tool, line 1093, in _doRunImportStep
   - __traceback_info__: plone-archetypes
  Module Products.CMFPlone.setuphandlers, line 485, in importArchetypes
  Module Products.CMFPlone.setuphandlers, line 84, in installArchetypes
  Module Products.CMFQuickInstallerTool.QuickInstallerTool, line 493, in installProduct
   - __traceback_info__: ('CMFFormController',)
  Module Products.GenericSetup.tool, line 390, in runAllImportStepsFromProfile
   - __traceback_info__: profile-Products.CMFFormController:CMFFormController
  Module Products.GenericSetup.tool, line 1179, in _runImportStepsFromContext
  Module Products.GenericSetup.tool, line 1093, in _doRunImportStep
   - __traceback_info__: content
  Module Products.CMFCore.exportimport.content, line 37, in importSiteStructure
  Module zope.app.component.hooks, line 96, in adapter_hook
  Module inquant.plone.gsxml.content, line 461, in __init__
TypeError: ('Could not adapt', <PloneSite at /site>, <InterfaceClass inquant.plone.gsxml.interfaces.IXMLDemarshaller>)


Maybe the required dependency Marshall is not available. Maybe there should be a check.
Steps to reproduce:
* Create a buildout with paster (plone3_buildout, recipe = plone.recipe.plone>=3.1,<3.2dev)
* call bootstrap.py
* get gsxml trunk from https://svn.plone.org/svn/collective/gsxml/trunk/ to src/inquant.plone.gsxml
* add inquant.plone.gsxml to the eggs-, zcml- and develop-section
* start zope
* add a plone site in zmi
Added by Stefan Eletzhofer on Oct 15, 2008 08:21 AM
Issue state: unconfirmedresolved
Responsible manager: (UNASSIGNED)seletz
fixed in 0.4.5

No responses can be added.