[Zope] R: [Zope] 'string' object has no attribute 'propertysheets'

Marcel Preda marcel@punto.it
Mon, 26 Jun 2000 18:43:36 +0200


> Could anyone clue me into what I'm doing wrong here. I have searched the
> archives and can't find the answer.
> 
> Thanks!!
> 
> Error Type: AttributeError
> Error Value: 'string' object has no attribute 'propertysheets'

<snip ...>
>   File /usr/local/Zope220/lib/python/DocumentTemplate/DT_Util.py, line 333,
> in eval
>     (Object:
> _['goLiveDate'].propertysheets.eMed_information.manage_changeProperties({
>    'eMed_title'           : REQUEST.form['new_eMed_title'],
>    'eMed_memVerse'        : REQUEST.form['new_eMed_memVerse'],
>    'eMed_summary'         : REQUEST.form['new_eMed_summary'],
>    'eMed_text'            : REQUEST.form['new_eMed_text'],
>    'eMed_DateMod'         : REQUEST.form['new_eMed_DateMod']
>    }))
>     (Info: REQUEST)
>   File &lt;string&gt;, line 0, in ?
>   File /usr/local/Zope220/lib/python/DocumentTemplate/DT_Util.py, line 129,
> in careful_getattr
> AttributeError: (see above)

Looks like you have the object (variable) `goLiveDate'  of the type 'string'
and ,of corse :), it doesn't have the attribute (method) `propertysheets'
but you try to access this attribute...


PM