Re: [Zope] Showing the results per pages.

2005-08-01 Thread Andreas Jung
--On 1. August 2005 17:31:11 -0300 Fernando Lujan <[EMAIL PROTECTED]> wrote: HI, I have a sql-method which returns a dinamic number of tuples. How can I split it and show the result using a per page separation? The PloneBatch module from can be re-used *outside* Plone for doing such batch

[Zope] Application Error (Referernced Memmory)

2005-08-01 Thread David Blomstrom
I downloaded a content management system called Plone and get the following error message when I try to start it: Plone Controller - [Plone Status]: pythonw.exe - Application Error The instruction at "0x009d3f09" referenced memory at "0x00cB". The memory could not be "read". [EMAIL PROTECTED

Re: [Zope] Showing the results per pages.

2005-08-01 Thread Maciej Wisniowski
Fernando Lujan wrote: HI, I have a sql-method which returns a dinamic number of tuples. How can I split it and show the result using a per page separation? Something like Google's results when we have a huge number of results... ;) Thanks. Maybe try 'Z Search Interface' in ZMI from the Add l

[Zope] Showing the results per pages.

2005-08-01 Thread Fernando Lujan
HI, I have a sql-method which returns a dinamic number of tuples. How can I split it and show the result using a per page separation? Something like Google's results when we have a huge number of results... ;) Thanks. -- Fernando Lujan ___ Zope maill

Re: [Zope] Zope 2.8 and conflict errors

2005-08-01 Thread Maciej Wisniowski
I can't speak to the 500 errors you're receiving but Zope 2.8.0 500 is HTTP code, not the error count. I've written this in a messy way. Zope 2.8.0 ships with a "TemporaryStorage" implementation (used by sessions in the default configuration) which does not implement MVCC. The one in 2.8.1 (n

Re: [Zope] Zope 2.8 and conflict errors

2005-08-01 Thread Maciej Wisniowski
Other errors are like "Shouldn't load state xxx when connection is closed" but these are known bugs in older ZODB version. Really? I do not know such errors in any ZODB version. I know these errors as persistency bugs in applications (among others some of mine)... I've found this in

Re: [Zope] rendering the contents of ..

2005-08-01 Thread J Cameron Cooper
David Bear wrote: I am looking at a couple way of producing a qotd solution. one way is to put quotes in a folder. Then use objectvalues on the folder and randomly select one of the items. I get get the objectid. but I don't know what I use to get the 'content' of the object.. what is the metho

[Zope] Re: Running more than one instance on windows often block each other

2005-08-01 Thread Tim Peters
[Sune B. Woeller, on socktest29] > I have been running 8 simultaneous processes with socktest29() for > 12 hours, on my xp box. No problems except for an occasional "Address > already in use". Which the code expects, and works around. Thank you, Sune! I ran the same code, but with 3 processes, f

[Zope] Re: Running more than one instance on windows often block each other

2005-08-01 Thread Tim Peters
... [Tim Peters[ >> How often do you see this? I haven't seen it yet, but I can't make >> hours today to do this [by] hand. [Sune B. Woeller] > The problem with a failing connect, and as consequence a hanging accept: > I have tested with your socktest111(), and experience the same thing with > t

Re: [Zope] configurating Zopes for merged logs

2005-08-01 Thread Jens Vagelpohl
Exactly what I was planning to do. The docs themselves indicate they are incomplete. Is there any documentation beyond that supplied with the distribution. (I have read the "logging" docs and PEP 282.) Not sure what you *need* in terms of documentation. There are only a couple parameters,

Re: [Zope] configurating Zopes for merged logs

2005-08-01 Thread Dennis Allison
Exactly what I was planning to do. The docs themselves indicate they are incomplete. Is there any documentation beyond that supplied with the distribution. (I have read the "logging" docs and PEP 282.) Python 2.4.1 seems to be clean and stable with Zope 2.7.6. We've been running it in prod

[Zope] rendering the contents of ..

2005-08-01 Thread David Bear
I am looking at a couple way of producing a qotd solution. one way is to put quotes in a folder. Then use objectvalues on the folder and randomly select one of the items. I get get the objectid. but I don't know what I use to get the 'content' of the object.. what is the method to get the 'render

Re: [Zope] When "Debug Spinning Zope" doesn't work

2005-08-01 Thread Paul Winkler
On Mon, Aug 01, 2005 at 07:09:03PM +0200, Maciej Wisniowski wrote: > > >Reading symbols from > >/usr/local/lib/python2.3/lib-dynload/itertools.so...done. > >Loaded symbols for /usr/local/lib/python2.3/lib-dynload/itertools.so > >0x080775af in PyDict_GetItem (op=0x44d16934, key=0x401ae020) > > at

Re: [Zope] configurating Zopes for merged logs

2005-08-01 Thread Dennis Allison
Yup, that is one of my fallback approachs. It seems to me that I should be able to write a configuration for the Zopes that either invokes a remote syslogd server (or other server) which will merge multiple logging entries into a single file on one of the machines in the cluster, preferably the Z

Re: [Zope] Python compile question

2005-08-01 Thread Dieter Maurer
Pascal Peregrina wrote at 2005-8-1 11:07 +0100: >I know this is more a python question than a Zope one, but this is part of >different tests I am doing to try to make Zope faster. > >The target architecture is several Zope instances on a multi-processor linux >server. > >On a linux system, does any

Re: [Zope] Zope 2.8 and conflict errors

2005-08-01 Thread Dieter Maurer
Maciej Wisniowski wrote at 2005-8-1 12:21 +0200: > ... >Other errors are like "Shouldn't load state xxx when >connection is closed" but these are known bugs in older ZODB version. Really? I do not know such errors in any ZODB version. I know these errors as persistency bugs in applications (among

Re: [Zope] configurating Zopes for merged logs

2005-08-01 Thread Jens Vagelpohl
Zope 2.7.6 with ZEO Python 2.4.1 I would like to configure for a single merged log. If BE is the backend machine running ZEO and FEA FEB and FEC are various front-ends for the ZEO, what's the configuration supposed to look like to get a merged log collected on the machine on which ZEO runs.

Re: [Zope] configurating Zopes for merged logs

2005-08-01 Thread Andreas Jung
--On 1. August 2005 09:51:37 -0700 Dennis Allison <[EMAIL PROTECTED]> wrote: Zope 2.7.6 with ZEO Python 2.4.1 I would like to configure for a single merged log. If BE is the backend machine running ZEO and FEA FEB and FEC are various front-ends for the ZEO, what's the configuration suppos

Re: [Zope] When "Debug Spinning Zope" doesn't work

2005-08-01 Thread Maciej Wisniowski
Reading symbols from /usr/local/lib/python2.3/lib-dynload/itertools.so...done. Loaded symbols for /usr/local/lib/python2.3/lib-dynload/itertools.so 0x080775af in PyDict_GetItem (op=0x44d16934, key=0x401ae020) at Objects/dictobject.c:498 498 return (mp->ma_lookup)(mp, key, hash)->m

[Zope] configurating Zopes for merged logs

2005-08-01 Thread Dennis Allison
Zope 2.7.6 with ZEO Python 2.4.1 I would like to configure for a single merged log. If BE is the backend machine running ZEO and FEA FEB and FEC are various front-ends for the ZEO, what's the configuration supposed to look like to get a merged log collected on the machine on which ZEO runs.

[Zope] Blobs in Interbase

2005-08-01 Thread Bob Corriher
Hi Ashely, I use Interbase (and Firebird) in Zope regularly and I just use the regular ZSQL Method syntax for blob fields: to update the field.If the field may be left null, I usually use something like this in the ZSQL Method: null Apply commas at the end (or beginning) of the and

[Zope] When "Debug Spinning Zope" doesn't work

2005-08-01 Thread Paul Winkler
It used to be that on the rare occasions that Zope hung, I could use the recipe at http://zopelabs.com/cookbook/1073504990 to diagnose the problem (usually my own code was at fault). But, what does it mean when I get nothing at all from "info threads" in gdb? I get this on two different systems:

Re: [Zope] Zope 2.8 and conflict errors

2005-08-01 Thread Chris McDonough
Hi Maciej, I can't speak to the 500 errors you're receiving but Zope 2.8.0 ships with a "TemporaryStorage" implementation (used by sessions in the default configuration) which does not implement MVCC. The one in 2.8.1 (now in beta) and better will implement MVCC, so you *should* see performance i

RE: [Zope] FW: Problem downloading large files

2005-08-01 Thread Laurikainen, Tuukka
Solved the problem by using Squid as a reverse https Proxy and VHM on Zope. So ZServerSSL is not used anymore. Regards, tuukka > -Original Message- > From: Chris Withers [mailto:[EMAIL PROTECTED] > Sent: Friday, July 22, 2005 7:03 PM > To: Laurikainen, Tuukka > Cc: zope@zope.org; Anton S

[Zope] Zope 2.8 and conflict errors

2005-08-01 Thread Maciej Wisniowski
Hi! Does anybody tried 2.8 and can say something about conflict errors? I've done few tests and results are not good. We've checked one of our applications on Zope 2.7.2 and the same application on Zope 2.8. We have simulated 50-65 users executing the same path in application. There was total c

[Zope] Python compile question

2005-08-01 Thread Pascal Peregrina
Hi, I know this is more a python question than a Zope one, but this is part of different tests I am doing to try to make Zope faster. The target architecture is several Zope instances on a multi-processor linux server. On a linux system, does anyone know if these python options can help performa

Θέμα: Re: [Zope] Using relative paths doesn't seem to work as i thought

2005-08-01 Thread tomatbiz-tominfo
--- Dieter Maurer <[EMAIL PROTECTED]> έγραψε: > [EMAIL PROTECTED] wrote at 2005-7-29 > 12:48 +0100: > >Using relative paths doesn't seem to work as i > >thought. > >For example : > >I have a Plone site "Plone" > >Under that i have a folder object named "Sales" > >In Sales i have a Page Template o

Re: [Zope] Re: Oracle 9.2.0.2

2005-08-01 Thread Maciej Wisniowski
A colleague of mine currently hunts a difficult bug in DCO2 which causes wrong query results with a probability of about 0.0025 (non empty "long" fields are non-deterministically reported as "None"). He also tried cx_Oracle. It is more reliable but by a factor of 4 slower than DC02. And wh

[Zope] Re: Updating BLOB fields in Interbase database

2005-08-01 Thread Ashley
Hi bobb, thanks for your reply. If I found the right post (reading an image from blob in mysql and displaying it), then thanks very much but I don't think it'll apply too much to my situation. I can retrieve the contents of the blob field fine, its updating it that causes the problems. Thanks aga