[Zope] REQUEST.set size
Manuel Amador (Rudd-O)
amador@alomega.com
Tue, 17 Oct 2000 00:53:09 -0500
--------------245C6E38D0EACB6D5EC5D549
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
maybe you should try to put your data in a list or a dictionary. Anyone
can help with the syntax? I can't remember... =)
Paul Zwarts wrote:
> Hi all,
>
> I am new to Zope but worked for 2 years in a dev-env called Uniface so
> Im fairly up to speed on Zope quickly. But I am having a problem writing
> data through a REQUEST.set that is larger than its apparent limit.
> (sorry can remember the exact error i get from Zope)
>
> What I am trying to do is collect in a field a large list of emails that
> are gathered in a dtml-in statement with a REQUEST.set('all', all +
> email) nested in the loop. While appending the namespace to store the
> data in PGSQL, i always get the size error which i assume is coming from
> the publisher saying that a the request can only have a byte size of
> 1800 bytes or so.
>
> Im not so hot with straight SQL because Uniface had its own methods, so
> Im not sure if I can append data directly to a stored field or if I need
> to continue trying to use the REQUEST.set. After the hundreth occurence
> in the IN, the namespace I use to store the appended data, so I cannot
> fully make a list of 2000 occurences. Any ideas?
>
> Sorry, no code to show what Im doing but it should be pretty easy to
> understand for all you veterans out there...
>
> TIA,
>
> --
> Paz
> Oratrix Development BV
> http://www.oratrix.com
> GRiNS SMIL Editor
> -
>
> _______________________________________________
> 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 )
--
Manuel Amador (Rudd-O)
--------------245C6E38D0EACB6D5EC5D549
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
maybe you should try to put your data in a list or a dictionary.
Anyone can help with the syntax? I can't remember... =)
<br>Paul Zwarts wrote:
<blockquote TYPE=CITE>Hi all,
<p>I am new to Zope but worked for 2 years in a dev-env called Uniface
so
<br>Im fairly up to speed on Zope quickly. But I am having a problem writing
<br>data through a REQUEST.set that is larger than its apparent limit.
<br>(sorry can remember the exact error i get from Zope)
<p>What I am trying to do is collect in a field a large list of emails
that
<br>are gathered in a dtml-in statement with a REQUEST.set('all', all +
<br>email) nested in the loop. While appending the namespace to store the
<br>data in PGSQL, i always get the size error which i assume is coming
from
<br>the publisher saying that a the request can only have a byte size of
<br>1800 bytes or so.
<p>Im not so hot with straight SQL because Uniface had its own methods,
so
<br>Im not sure if I can append data directly to a stored field or if I
need
<br>to continue trying to use the REQUEST.set. After the hundreth occurence
<br>in the IN, the namespace I use to store the appended data, so I cannot
<br>fully make a list of 2000 occurences. Any ideas?
<p>Sorry, no code to show what Im doing but it should be pretty easy to
<br>understand for all you veterans out there...
<p>TIA,
<p>--
<br>Paz
<br>Oratrix Development BV
<br><a href="http://www.oratrix.com">http://www.oratrix.com</a>
<br>GRiNS SMIL Editor
<br>-
<p>_______________________________________________
<br>Zope maillist - Zope@zope.org
<br><a href="http://lists.zope.org/mailman/listinfo/zope">http://lists.zope.org/mailman/listinfo/zope</a>
<br>** No cross posts or HTML encoding! **
<br>(Related lists -
<br> <a href="http://lists.zope.org/mailman/listinfo/zope-announce">http://lists.zope.org/mailman/listinfo/zope-announce</a>
<br> <a href="http://lists.zope.org/mailman/listinfo/zope-dev">http://lists.zope.org/mailman/listinfo/zope-dev</a>
)</blockquote>
<pre>--
Manuel Amador (Rudd-O)</pre>
</html>
--------------245C6E38D0EACB6D5EC5D549--