[Zope-PTK] Can't add new portal

Dave Seidel dave@superluminal.com
Thu, 27 Apr 2000 10:57:24 -0400


This may have been asked recently in the list, but I don't think there's
been a reply yet.  Apparently the maintainer is offline, but maybe someone
else can offer a clue.

I'm using CVS versions of both Zope and PTK, and I'm new to both.  When I
try to add a Portal to a folder, I get all the way through the wizard, then
when I click on Finish, I get:

Error Type: Invalid Index Name
Error Value: Cannot index fields beginning with "_"

the traceback is:
  File /www/Zope/lib/python/ZPublisher/Publish.py, line 214, in
publish_module
  File /www/Zope/lib/python/ZPublisher/Publish.py, line 179, in publish
  File /www/Zope/lib/python/Zope/__init__.py, line 211, in
zpublisher_exception_hook
  File /www/Zope/lib/python/ZPublisher/Publish.py, line 165, in publish
  File /www/Zope/lib/python/ZPublisher/mapply.py, line 160, in mapply
    (Object: Portal_add)
  File /www/Zope/lib/python/ZPublisher/Publish.py, line 102, in call_object
    (Object: Portal_add)
  File /www/Zope/lib/python/OFS/DTMLMethod.py, line 156, in __call__
    (Object: Portal_add)
  File /www/Zope/lib/python/DocumentTemplate/DT_String.py, line 502, in
__call__
    (Object: Portal_add)
  File /www/Zope/lib/python/DocumentTemplate/DT_With.py, line 148, in render
    (Object: Portal.createInObjectManager(REQUEST['id'], REQUEST))
  File /www/Zope/lib/python/Products/PTKDemo/Portal.py, line 79, in install
    (Object: DemoPortalBase)
  File /www/Zope/lib/python/Products/PTKBase/PortalCatalog.py, line 14, in
initialize
    (Object: ElementWithAttributes)
  File /www/Zope/lib/python/Products/ZCatalog/Catalog.py, line 309, in
addIndex
Invalid Index Name: (see above)

-- Dave

---
Dave Seidel
dave@superluminal.com
www.superluminal.com/dave/