<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.6944.0">
<TITLE>ape 1.0 and plone batch inserts...</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Hello,<BR>
<BR>
tried APE 1.0 just for fun: it's great to have plone instantiated via APE/PostgreSQL:-)<BR>
<BR>
Software used:<BR>
Zope2.7.2, Plone2.0.4, Postgres 7.4.3<BR>
<BR>
i tried to batch-insert many text-files as plone documents into a large plone folder.<BR>
* plone without APE: no problem it inserts my 30.000 docs<BR>
* plone with APE: its stops inserting after about 300 inserts:<BR>
<BR>
RuntimeError: maximum recursion depth exceeded<BR>
<BR>
traceback:<BR>
------------<BR>
<BR>
Time&nbsp; &nbsp; 2004/08/27 23:17:56.046 GMT+2<BR>
User Name (User Id) &nbsp;&nbsp;&nbsp; hra (hra)<BR>
Request URL &nbsp;&nbsp;&nbsp; <A HREF="http://">http://</A>...........<BR>
Exception Type&nbsp; RuntimeError<BR>
Exception Value &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; maximum recursion depth exceeded<BR>
<BR>
Traceback (innermost last):<BR>
<BR>
&nbsp;&nbsp;&nbsp; * Module ZPublisher.Publish, line 101, in publish<BR>
&nbsp;&nbsp;&nbsp; * Module ZPublisher.mapply, line 88, in mapply<BR>
&nbsp;&nbsp;&nbsp; * Module ZPublisher.Publish, line 39, in call_object<BR>
&nbsp;&nbsp;&nbsp; * Module Products.ExternalMethod.ExternalMethod, line 225, in __call__<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; __traceback_info__: ((&lt;Application instance at 2a455cb0&gt;,), {}, None)<BR>
&nbsp;&nbsp;&nbsp; * Module /opt/zi/zi1/Extensions/importFiles.py, line 165, in insertFiles<BR>
&nbsp;&nbsp;&nbsp; * Module ZODB.Transaction, line 236, in commit<BR>
&nbsp;&nbsp;&nbsp; * Module ZODB.Transaction, line 351, in _commit_objects<BR>
&nbsp;&nbsp;&nbsp; * Module apelib.zodb3.connection, line 263, in commit<BR>
&nbsp;&nbsp;&nbsp; * Module apelib.core.io, line 152, in serialize<BR>
&nbsp;&nbsp;&nbsp; * Module apelib.core.serializers, line 108, in serialize<BR>
&nbsp;&nbsp;&nbsp; * Module apelib.zodb3.serializers, line 232, in serialize<BR>
<BR>
RuntimeError: maximum recursion depth exceeded<BR>
<BR>
----------<BR>
<BR>
what i am doing:<BR>
<BR>
* i have bunch of xml files on the filesystem (app. 30.000 files)<BR>
* i'm parsing the files and putting the relevant content into plone as documents into various folders via an external method (commiting every 100 docs).<BR>
* configuration: just as described in ape docs; using postgres storage<BR>
* instantiated plone in sql/plone<BR>
<BR>
Harry<BR>
</FONT>
</P>

</BODY>
</HTML>