[Zope-PTK] Can't create portal
Brent A. Nelson
brent@astro.ufl.edu
Sat, 19 Aug 2000 17:50:38 -0400 (EDT)
I can't create a portal using the current CVS PTK and Zope 2.2.0. The
first problem I encountered was a minor problem with the CVS contents: the
DemoPortal and Wizard directories from CVS are apparently older than the
DemoPortal.zexp and Wizard.zexp in PTKDemo, and prevent you from importing
the newer .zexp files.
After deleting those directories from lib/python/Products, successfully
importing the .zexp files, and restarting Zope, I still can't create a
portal, however. I get the following Zope error (see below) related to
"portal_actions" not being found.
Any ideas what might be wrong?
Thanks,
Brent Nelson
===========================================================================
Zope Error:
Error Type: NotFound
Error Value: portal_actions
Traceback (innermost last):
File /home/brent/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py,
line 222, in publish_module
File /home/brent/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py,
line 187, in publish
File /home/brent/Zope-2.2.0-linux2-x86/lib/python/Zope/__init__.py, line
221, in zpublisher_exception_hook
(Object: RoleManager)
File /home/brent/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py,
line 171, in publish
File /home/brent/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/mapply.py,
line 160, in mapply
(Object: Portal_add)
File /home/brent/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py,
line 112, in call_object
(Object: Portal_add)
File /home/brent/Zope-2.2.0-linux2-x86/lib/python/OFS/DTMLMethod.py,
line 167, in __call__
(Object: Portal_add)
File
/home/brent/Zope-2.2.0-linux2-x86/lib/python/DocumentTemplate/DT_String.py,
line 502, in __call__
(Object: Portal_add)
File
/home/brent/Zope-2.2.0-linux2-x86/lib/python/DocumentTemplate/DT_With.py,
line 146, in render
(Object: Portal.createInObjectManager(REQUEST['id'], REQUEST))
File
/home/brent/Zope-2.2.0-linux2-x86/lib/python/DocumentTemplate/DT_Let.py,
line 147, in render
(Object: RESPONSE="_.None")
File
/home/brent/Zope-2.2.0-linux2-x86/lib/python/DocumentTemplate/DT_Util.py,
line 337, in eval
(Object: createPortalTools(REQUEST))
(Info: REQUEST)
File <string>, line 0, in ?
File
/home/brent/Zope-2.2.0-linux2-x86/lib/python/Products/PTKDemo/Portal.py,
line 25, in createPortalTools
(Object: ElementWithAttributes)
File
/home/brent/Zope-2.2.0-linux2-x86/lib/python/Products/PTKBase/utils.py,
line 121, in manage_addTool
NotFound: (see above)