[Zope] "Missing doc strings" - huh?
Martijn Pieters
mj@antraciet.nl
Thu, 09 Sep 1999 14:24:48 +0200
At 13:39 09/09/99 , Chris Allen wrote:
>Hi,
>
>I keep on running into this error:
>
> Debugging Notice
>
> Zope has encountered a problem publishing your object.
> Missing doc string at: http://zopesite/blah...
>
>Traceback (innermost last):
> File /Zope-2.0.0/lib/python/ZPublisher/Publish.py, line 214, in
>publish_module
> File /Zope-2.0.0/lib/python/ZPublisher/Publish.py, line 179, in publish
> File /Zope-2.0.0/lib/python/Zope/__init__.py, line 201, in
>zpublisher_exception_hook
> (Object: ApplicationDefaultPermissions)
> File /Zope-2.0.0/lib/python/ZPublisher/Publish.py, line 151, in publish
> File /Zope-2.0.0/lib/python/ZPublisher/BaseRequest.py, line 344, in
>traverse
> File /Zope-2.0.0/lib/python/ZPublisher/HTTPResponse.py, line 520, in
>debugError
>NotFound: (see above)
>
>
>What exactly is a "missing doc string"?? Anyone seen this before?
>
>The error arose when I tried to submit a form which has been produced by a
>call to HTMLFile from an external Python method. The form has worked
>before.
A "doc string" is the python documentation string you can add to all your
objects by placing a string in it's definition, stroed in it's __doc__
property. See your Python manuals for details.
Zope will not publish an object unless it has one.
--
Martijn Pieters, Web Developer
| Antraciet http://www.antraciet.nl
| Tel: +31-35-7502100 Fax: +31-35-7502111
| mailto:mj@antraciet.nl http://www.antraciet.nl/~mj
| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
------------------------------------------