[Zope] Re: acl_users folder > 25000

2008-06-04 Thread Riccardo Lemmi
Kees de Brabander wrote: > A client of mine wants a site that is only accessible for members. However, > there are more than 25000 members. Are there any reasons that would make it > unwise to populate an ordinary acl_users folder with such a number of user > accounts? we have a Plone site with 3

[Zope] index error, list index out of range

2008-06-04 Thread suhail shaik
some one please help me regarding why the index error is occuring... i find the application works fine for a few values of textidx but only for a few distinct values this error occurs kindly help me Traceback (innermost last): - Module ZPublisher.Publish, line 119, in publish - Module

Re: [Zope] index error, list index out of range

2008-06-04 Thread Andreas Jung
--On 4. Juni 2008 12:41:01 +0100 suhail shaik <[EMAIL PROTECTED]> wrote: some one please help me regarding why the index error is occuring... i find the application works fine for a few values of textidx but only for a few distinct values this error occurs This error caused in your cod

RE: [Zope] Multithreading sessions

2008-06-04 Thread Jon Emmons
Dieter, Thanks for this input. Your comments here turned out to be dead on. The problem is the GIL. We are currently running Sybase databases using the python Sybase-0.37 module for data access. This module will set the GIL. So if the query takes any time at all, every other session will free

Re: RE: [Zope] Multithreading sessions

2008-06-04 Thread Carol Ludwig
We are using Plone and Zope against a legacy Ingres database, and I found a similar problem using the adapter provided.  I found that the C library modules (open source) actually contained calls to make the adapter work as we wanted, much like our other web interfaces which maintain the db an

RE: RE: [Zope] Multithreading sessions

2008-06-04 Thread Jon Emmons
Carol, As a quick fix, we have created a stand alone program that does the database access. So from the python external method (zope) that retrieves data, instead of making the connections to the DB directly it now calls os.popen("python getdata.py"). This forces the launch of a separate p

RE: [Zope] Multithreading sessions

2008-06-04 Thread Dieter Maurer
Jon Emmons wrote at 2008-6-4 08:50 -0400: > ... >I am just learning about this, but my initial inquiries suggest that the >only way to achieve true concurrency using a language like python is to >launch multiple interpreters. This is true when you mean by "true concurrency" "can keep a multi-CPU s

Re: [Zope] re: help required in [result.data_record_id_]

2008-06-04 Thread Dieter Maurer
suhail shaik wrote at 2008-6-2 12:25 +0100: > I am a novice in zope. i have to debug a program where i get the key value >error, traversal error. > >a lil info from the error log. > >"Module Products.PageTemplates.ZRPythonExpr, line 49, in __call__ > - __traceback_info__: >here.getStoryNumber(her

Re: [Zope] index error, list index out of range

2008-06-04 Thread Dieter Maurer
suhail shaik wrote at 2008-6-4 12:41 +0100: > ... >Traceback (innermost last): > > > - Module zope.tal.talinterpreter, line 346, in interpret > - Module zope.tal.talinterpreter, line 590, in do_setGlobal_tal > - Module zope.tales.tales, line 696, in evaluate > *URL: /news/SearchReport*

RE: [Zope] Multithreading sessions

2008-06-04 Thread Jon Emmons
Dieter, A fourth option that we came up with this morning is to make the data access procedure a stand alone program. We spawn a process at the OS level to query the data and pipe the results back into the zope external method. This launches a new python interpreter and completely sidesteps thre

Re: [Zope] Multithreading sessions

2008-06-04 Thread Jaroslav Lukesh
- Original Message - From: "Dieter Maurer" <[EMAIL PROTECTED]> Jon Emmons wrote at 2008-6-4 08:50 -0400: ... I am just learning about this, but my initial inquiries suggest that the only way to achieve true concurrency using a language like python is to launch multiple interpreters.