Hi; I asked this of the Plone d'list, but no one responded, so I assume no one had the answer...so I've come here ;) I came across PloneSecurityInjector in the collective and thought it was a neat idea. So I installed it, along with its dependencies, one of which is CatalogPatch. However, that latter breaks my Plone! Traceback (innermost last): Module ZPublisher.Publish, line 101, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 39, in call_object Module Products.CMFPlone.Portal, line 465, in manage_addSite Module Products.CMFPlone.Portal, line 437, in create Module Products.CMFPlone.Portal, line 384, in setupPlone Module Products.CMFPlone.Portal, line 223, in setupPortalContent Module Products.CMFCore.PortalFolder, line 408, in invokeFactory Module Products.CMFCore.TypesTool, line 925, in constructContent Module Products.CMFCore.TypesTool, line 335, in constructInstance Module Products.CMFCore.TypesTool, line 566, in _constructInstance Module Products.CMFPlone.LargePloneFolder, line 65, in addLargePloneFolder Module OFS.ObjectManager, line 276, in _setObject Module Products.CMFCore.CMFCatalogAware, line 198, in manage_afterAdd Module Products.CMFCore.CMFCatalogAware, line 60, in indexObject Module Products.CMFPlone.CatalogTool, line 386, in indexObject Module Products.CMFCore.CatalogTool, line 353, in reindexObject TypeError: catalog_object() takes at most 4 arguments (5 given) What do? TIA, Javier2 --------------------------------- Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2 Oct 2006, at 13:08, Javier Subervi wrote:
Module Products.CMFCore.CatalogTool, line 353, in reindexObject TypeError: catalog_object() takes at most 4 arguments (5 given)
I believe this error shows up when you use incompatible Plone and Zope versions, like Zope 2.7.x with Plone 2.1.x jens -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFFIUl2RAx5nvEhZLIRAjJcAJ9hhokOFhp/G/BfHLAkFq+IjcvaVQCfQjPN 6qdIvkVpmczXR9ocp9rsl7Y= =SsUD -----END PGP SIGNATURE-----
No, it only shows up when I add the CatalogPatch. The versions I use are compatible. Javier2 Jens Vagelpohl <jens@dataflake.org> wrote: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2 Oct 2006, at 13:08, Javier Subervi wrote:
Module Products.CMFCore.CatalogTool, line 353, in reindexObject TypeError: catalog_object() takes at most 4 arguments (5 given)
I believe this error shows up when you use incompatible Plone and Zope versions, like Zope 2.7.x with Plone 2.1.x jens -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFFIUl2RAx5nvEhZLIRAjJcAJ9hhokOFhp/G/BfHLAkFq+IjcvaVQCfQjPN 6qdIvkVpmczXR9ocp9rsl7Y= =SsUD -----END PGP SIGNATURE----- _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) --------------------------------- Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2 Oct 2006, at 14:46, Javier Subervi wrote:
No, it only shows up when I add the CatalogPatch. The versions I use are compatible.
Then I bet the patch patches the code in the wrong way. jens -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFFIWRwRAx5nvEhZLIRAoRVAJ0R1NwCtgC6kGah+piwFMweFyR2DwCfRnG0 OtA0oSdJTonL0km1a0Wtu4M= =Egpe -----END PGP SIGNATURE-----
--On 2. Oktober 2006 10:08:02 -0700 Javier Subervi <javier_subervi@yahoo.com> wrote:
Hi; I asked this of the Plone d'list, but no one responded, so I assume no one had the answer...so I've come here ;) I came across PloneSecurityInjector in the collective and thought it was a neat idea. So I installed it, along with its dependencies, one of which is CatalogPatch. However, that latter breaks my Plone!
Well, look at your traceback and identify the related method (catalog_object() ) and compare it with the official API. -aj
participants (4)
-
Andreas Jung -
Dieter Maurer -
Javier Subervi -
Jens Vagelpohl