Re: [Zope] CatalogPatch PloneSecurityInjector

2006-10-03 Thread Dieter Maurer
Javier Subervi wrote at 2006-10-2 11:46 -0700:
No, it only shows up when I add the CatalogPatch.

This tells you that the problem is in CatalogPatch ;-)



-- 
Dieter
___
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 )


[Zope] CatalogPatch PloneSecurityInjector

2006-10-02 Thread Javier Subervi
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 reindexObjectTypeError: 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.___
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 )


Re: [Zope] CatalogPatch PloneSecurityInjector

2006-10-02 Thread Jens Vagelpohl

-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 )


Re: [Zope] CatalogPatch PloneSecurityInjector

2006-10-02 Thread Andreas Jung



--On 2. Oktober 2006 10:08:02 -0700 Javier Subervi 
[EMAIL PROTECTED] 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





pgpdOLSbLIQUX.pgp
Description: 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 )


Re: [Zope] CatalogPatch PloneSecurityInjector

2006-10-02 Thread Javier Subervi
No, it only shows up when I add the CatalogPatch. The versions I use are compatible.Javier2Jens Vagelpohl [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE-Hash: SHA1On 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.xjens-BEGIN PGP SIGNATURE-Version: GnuPG v1.4.1
 (Darwin)iD8DBQFFIUl2RAx5nvEhZLIRAjJcAJ9hhokOFhp/G/BfHLAkFq+IjcvaVQCfQjPN6qdIvkVpmczXR9ocp9rsl7Y==SsUD-END PGP SIGNATURE-___Zope maillist  -  Zope@zope.orghttp://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.___
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 )