On Sun, Oct 16, 2005 at 06:50:09PM +0200, Dieter Maurer wrote:
> >I am trying to make a product where-in I want to be able to return a
> >page based on the url, think something like /product/username
> >which would return a page with the users details.
> >For this purpose I am using __getitem__, but when I return a
> >PageTemplateFile instance it just tells me it has encountered a problem
> >publishing the object.
> I such a case, you look at the traceback (which you can find in
> the "error_log" object in your Zope "Root Folder" (ZMI)).
It just says "No exceptions logged." So it does not log any errors in
The error message I am getting is:
An error was encountered while publishing this resource.
Zope has encountered a problem publishing your object.
Cannot locate object at: http://localhost:8080/vitester/asonhe
> If it does not solve the problem directly, you include
> the full error information (at least "Error Type", "Error Value"
> *AND* "traceback") in your post.
If there had been a better error description I would of course have
included it, but the thing that has made this difficult to understand is
that I haven't been able to find any real error messages. I have enabled
debug-mode and am running Zope in the foreground, but it reports no
errors at all.
-----BEGIN GEEK CODE BLOCK-----
GCS/O d--@ s:+ a-- C++ UL+++$ P++ L+++ E- W+ N(+) o K? w O-- M- V
PS+ PE@ Y+ PGP+ t 5 X R+ tv+ b++ DI+++ D+ G e- h !r y?
------END GEEK CODE BLOCK------
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -