[Zope] Newbie Zope Question

Darren Ehlers darren at clevermachine.com
Fri Sep 3 16:39:43 EDT 2004


Hi Paul,

That worked.  It seems there is an extra object that I wasn't expecting that
was causing the problem.

Thanks a lot for your help.

-Darren

-----Original Message-----
From: zope-bounces at zope.org [mailto:zope-bounces at zope.org] On Behalf Of Paul
Winkler
Sent: Friday, September 03, 2004 12:30 PM
To: zope at zope.org
Subject: Re: [Zope] Newbie Zope Question\

On Fri, Sep 03, 2004 at 12:03:30PM -0600, Darren Ehlers wrote:
> Paul,
> 
> Thanks for responding.  I have verified that all properties exist on 
> the template and have values.  I also verified that it is returning 
> what I expect.  If I change all of the <td> rows to <td 
> tal:content="item/title">, it works fine.
> 
> Here is the error I receive:
> Site Error
> 
> An error was encountered while publishing this resource.
> 
> Error Type: AttributeError
> Error Value: targeted_release

OK then, clearly at least one of your objects has no targeted_release
property. To find out which one, do what I suggested
previously: change the line in your template to something like:

<td tal:content="item/targeted_release | default"> BOINK! </td>

That'll clear up the error and show you which one(s) are missing the
property... assuming there are no other errors lying in wait :)

> Troubleshooting Suggestions
> 
>     * 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 
> error log.

Note that last line there :-)
The error_log is in the root of your zope site.
It gives you a lot more information.

-- 

Paul Winkler
http://www.slinkp.com
_______________________________________________
Zope maillist  -  Zope at zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )




More information about the Zope mailing list