[Zope] Help with creating application/product

Dale Lance d_lance@email.msn.com
Tue, 14 Sep 1999 18:38:26 -0500


I am in the middle of the Zope Content Managers Guide (page 31).
I am creating a sample product as described but with my own fields and
values.
I need an 'id' field and have tried to include one as shown in the sample
but keep getting this error:



  Zope Error
Zope has encountered an error while publishing this resource.

Error Type: KeyError
Error Value: id



----------------------------------------------------------------------------
----

Troubleshooting Suggestions

This resource may be trying to reference a nonexistent object or variable
id.
The URL may be incorrect.
The parameters passed to this resource may be incorrect.
A resource that this resource relies on may be encountering an error.
For more detailed information about the error, please refer to the HTML
source for this page.

If the error persists please contact the site maintainer. Thank you for your
patience.




Traceback (innermost last):
  File C:\Program Files\WebSite\lib\python\ZPublisher\Publish.py, line 214,
in publish_module
  File C:\Program Files\WebSite\lib\python\ZPublisher\Publish.py, line 179,
in publish
  File C:\Program Files\WebSite\lib\python\Zope\__init__.py, line 201, in
zpublisher_exception_hook
    (Object: RoleManager)
  File C:\Program Files\WebSite\lib\python\ZPublisher\Publish.py, line 165,
in publish
  File C:\Program Files\WebSite\lib\python\ZPublisher\mapply.py, line 160,
in mapply
    (Object: Builder)
  File C:\Program Files\WebSite\lib\python\ZPublisher\Publish.py, line 102,
in call_object
    (Object: Builder)
  File C:\Program Files\WebSite\lib\python\OFS\DTMLMethod.py, line 145, in
__call__
    (Object: Builder)
  File C:\Program Files\WebSite\lib\python\DocumentTemplate\DT_String.py,
line 502, in __call__
    (Object: Builder)
  File C:\Program Files\WebSite\lib\python\DocumentTemplate\DT_With.py, line
133, in render
    (Object: manage_clone(Home,REQUEST['id'],REQUEST))
  File C:\Program Files\WebSite\lib\python\DocumentTemplate\DT_Util.py, line
321, in eval
    (Object: manage_clone(Home,REQUEST['id'],REQUEST))
  File <string>, line 0, in ?
  File C:\Program Files\WebSite\lib\python\DocumentTemplate\DT_Util.py, line
156, in careful_getitem
  File C:\Program Files\WebSite\lib\python\ZPublisher\HTTPRequest.py, line
758, in __getitem__
KeyError: (see above)


This is on a windoze98 box running Zope 2.0


Can anyone help?