Jochen Knuth  <[EMAIL PROTECTED]> wrote:
> Hi,
> i have a ZClass with a property which is renderd as structured text. 
> Because i designed this ZClass before there was a standard for including 
> images, i made my own extension of structured text formating.
> Short: I used __imageobject__ as markup for the image.
> Now i want to update all my zclass instances to the new syntax (while 
> upgrading to Zope 2.5.1).
> I have a Python Script listKBE, which call an External Method updateKBE. 
> If i use it with a path with only a few ZClass instances (about 10) it 
> works (slowly). If i use it with a path with about 550 instances it 
> crashes or is extreme slow.
> Anyone to suggest a faster method?
> Thank you,
> Jochen

Call get_transaction().commit() every 20 or so objects ?


Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  mailto:[EMAIL PROTECTED]

Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to