[Zope] Zope Error
Troy Farrell
troy@entheossoft.com
Wed, 04 Jun 2003 09:23:35 -0500
Robby, it looks to me like the method 'Voters' (be it DTMLFile, ZPT, or
whatever) is expecting something to have 'voted' as an attribute. The
Attribute Error occurs because whatever item it is accessing does not
have this attribute. I could tell you more if you sent us the traceback.
Troy
Robby Gunawan wrote:
> Dear all,
>
> I've changed Survey.py and I got error when I try to enter a survey (I used PMPSurvey), the error is :
>
> Error Type : Attribute Error
> Error Value : voted
>
> When I use link 'Voters', I got an error like this :
>
> Error Type : Name Error
> Error Value : name 'voted' is not defined.
>
> Can anyone help me?
>
> FYI, I changed Survey.py based on Zope, Web Application Construction Kit by Martina Brockman at Chapter 8.
>
> TIA