[Zope-dev] Problems adding many objects
Chris McDonough
chrism at plope.com
Mon Sep 26 07:18:56 EDT 2005
Hi Morten,
You'd probably need to show us the implementation of whatever
"manage_add_issue" is.
- C
On Sep 25, 2005, at 10:09 AM, Morten W. Petersen wrote:
> Hi,
>
> I've created a script that imports XML into the ZODB, using regular
> TTW
> methods - and all is fine, except for when I import large files, with
> many objects.
>
> After about 288 objects, the import fails when the method that adds an
> object in the ZODB returns None, instead of the object it added. From
> what I can tell, the added object is not None before it is
> returned, but
> the name object, set via the expression
>
> object = self.manage_add_issue(...)
>
> is None. So it looks like somewhere between 'return issue_' in
> manage_add_issue and the expression above, the object is lost.
>
> Any ideas what could be happening here? I've managed to work
> around it
> for now, but it is interesting nonetheless.
>
> Regards,
>
> Morten
>
> <morten.vcf>
> _______________________________________________
> Zope-Dev maillist - Zope-Dev at zope.org
> http://mail.zope.org/mailman/listinfo/zope-dev
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope )
>
More information about the Zope-Dev
mailing list