--On 2. November 2006 11:59:34 -0800 Zhi-Wei Lu <[EMAIL PROTECTED]> wrote:

Hi Zope Gurus,

During the server upgrade from Zope 2.7.4 to 2.9.4, I encountered
a problem for the following simple python script:

text = container.research[name].research_description_html
text = str(text)
return text[0:400] + '...'

This code suppose to return the first 400 characters of an
abstract, the abstract is in HTML.

what is 'research[name]' for a type? Same for 'research_description_html'?
How can this be reproduced.

You must provide some reasonable information in order to get help.


Attachment: pgp2egqVE3Vmy.pgp
Description: PGP signature

Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to