[Zope] unpickleerror confusion
Steve Spicklemire
steve@spvi.com
Fri, 19 Apr 2002 05:17:44 -0500
On Thursday, April 18, 2002, at 05:05 PM, David Bear wrote:
>
> I was going through the example in the Zope Book (new riders) making
> slight modifications to the code. Trying to do the example of using a
> post method to create new dtml docs (using python p 84).
> ....
> id='Document_%d' % len(context.objectIds())
> context.manage_addProduct['OFSP'].manage_addDTMLDocument(id,
> title=name, file=abstract)
> doc=getattr(context, id)
> doc.manage_addProperty('Manager', manager, 'string')
> doc.manage_addProperty('StartDate', startDate, 'string')
> doc.manage_addProperty('EndDate', endDate, 'string')
> doc.manage_addProperty('FundingSourse', fundingSource, 'string')
> doc.manage_addProperty('FundingAmount', fundingAmount, 'string')
> doc.manage_addProperty('KeyWords', keywords, string)
>
Should that last "string" be quoted?
-steve
>
> Any pointers would be greatly appreciated.
>
> --
> David Bear
> College of Public Programs/ASU
> 480-965-8257
> ...the way is like water, going where nobody wants it to go
>
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )