[Zope] running a External Method via ZEO

Chris Withers chrisw at nipltd.com
Thu Sep 25 08:25:12 EDT 2003


alan runyan wrote:
> I get:
> Traceback (most recent call last):
>  File "reset_test.py", line 32, in ?
>    main()
>  File "reset_test.py", line 28, in main
>    app.reset()
>  File "/var/zope/Zope-2.6.2b3- 
> src/lib/python/Products/ExternalMethod/ExternalMethod.py", line 231, in 
> __call__
>    return apply(f,(self.aq_parent.this(),)+args,kw)
>  File "/var/zope/test/Extensions/daily.py", line 30, in reset_env
>    Portal.manage_addSite(self, 'plone.org')
>  File "/var/zope/test/Products/CMFPlone/Portal.py", line 361, in 
> manage_addSite
>    p = gen.create(self, id.strip(), create_userfolder)
>  File "/var/zope/test/Products/CMFPlone/Portal.py", line 344, in create
>    self.setup(p, create_userfolder)
>  File "/var/zope/test/Products/CMFDefault/Portal.py", line 285, in setup
>    self.setupTools(p)
>  File "/var/zope/test/Products/CMFPlone/Portal.py", line 310, in setupTools
>    addCMFPloneTool = p.manage_addProduct['CMFPlone'].manage_addTool
> AttributeError: manage_addTool

What is p when this happens?

Chris




More information about the Zope mailing list