[Zope-dev] RFC: Acquisition and __parent__ pointers

2007-01-23 Thread Philipp von Weitershausen
This proposal aims at bringing Zope 2 a bit closer to Zope 3 by making the widely used Acquisition API aware of Zope 3's __parent__ pointers. This will alleviate the need of using Acquisition base classes in Zope 2 for every security-sensitive object, be it persistent or just a dynamically

Re: [Zope] How to get modules that are called by external methods reloaded?

2007-01-23 Thread Gaute Amundsen
On Saturday 20 January 2007 12:00, Andreas Jung wrote: --On 20. Januar 2007 11:55:18 +0100 Jens Vagelpohl [EMAIL PROTECTED] wrote: That database size isn't too large and will not cause 10 minute startup. Only the index file is read in during startup, not the whole database - unless your

Re: [Zope] Zope pretends to receive and send XMLRPC data, but strace sees nothing ! (fwd)

2007-01-23 Thread yacine chaouche
Hello all, From times to times, apparently randomly, I have the following uncaught exception in the console : 2007-01-23 10:41:07 ERROR ZServer uncaptured python exception, closing channel ZServer.HTTPServer.zhttp_channel connected 10.75.49.51:48177 at 0x44562e6c channel#: 140 requests:

Re: [Zope] Zope pretends to receive and send XMLRPC data, but strace sees nothing !

2007-01-23 Thread Pascal Peregrina
In general, retry is called when a ZODB Conflict Error has happened. If I remember well, Zope will silently retry 3 times, and then actually return an error page showing the Conflict Error. Pascal De : yacine chaouche [EMAIL PROTECTED] Date : Tue, 23 Jan 2007 10:49:40 +0100 À : Gabriel Genellina

Re: [Zope] Zope pretends to receive and send XMLRPC data, but strace sees nothing ! (fwd)

2007-01-23 Thread Maciej Wisniowski
From times to times, apparently randomly, I have the following uncaught exception in the console : 2007-01-23 10:41:07 ERROR ZServer uncaptured python exception, closing channel ZServer.HTTPServer.zhttp_channel connected 10.75.49.51:48177 http://10.75.49.51:48177 at 0x44562e6c channel#: 140

[Zope] session-timeout-minutes value in runtime Zope

2007-01-23 Thread Peter Bengtsson
This might be an FAQ but I wasn't able to find it when searching. How do I get access to the value of 'session-timeout-minutes' coming from etc/zope.conf in runtime Zope? My app knows when people log in. I want the app to say You'll be securely logged in for another 25 minutes unless you log

Re: [Zope] session-timeout-minutes value in runtime Zope

2007-01-23 Thread Martijn Pieters
On 1/23/07, Peter Bengtsson [EMAIL PROTECTED] wrote: This might be an FAQ but I wasn't able to find it when searching. How do I get access to the value of 'session-timeout-minutes' coming from etc/zope.conf in runtime Zope? The trail to figure this out: - ZCML directives for zope.conf are

[Zope] Zope now tracked by Update-Scout.com

2007-01-23 Thread Peter Kullmann
Hi, Zope has just been added to Update-Scout.com, an interactive web service, that informs its users about software updates and releases. Users can set up personal update news feeds from the Update-Scout software catalog and even add new entries to the catalog. The address is

Re: [Zope] Zope pretends to receive and send XMLRPC data, but strace sees nothing ! (fwd)

2007-01-23 Thread yacine chaouche
Got it ! I edited this file : Zope-2.9.0/lib/python/ZPublisher/Publish.py and added a print line in the publish function, at the beginning of the first except block : code def publish(request, module_name, after_list, debug=0,...): ... try: request.processInputs()

Re: [Zope] Key Error in Catalog Reindex

2007-01-23 Thread KJZZ Webmaster
Dieter, I restarted zope in debug mode last night and recorded the following error: 2007-01-23T06:56:18 ERROR Zope.SiteErrorLog http://someurl/someobject/somedtmlmethod Traceback (most recent call last): File X:\SomePath\Zope-2.8.1-final\lib\python\ZPublisher\Publish.py, line 113, in publish

Re: [Zope] session-timeout-minutes value in runtime Zope

2007-01-23 Thread Peter Bengtsson
Martijn Pieters wrote: On 1/23/07, Peter Bengtsson [EMAIL PROTECTED] wrote: This might be an FAQ but I wasn't able to find it when searching. How do I get access to the value of 'session-timeout-minutes' coming from etc/zope.conf in runtime Zope? - Handlers are defined in

[Zope] zope/zeo on multiprocessor machines?

2007-01-23 Thread cristopher pierson ewing
I've been told that zope is not set up to utilize the extra processing power of multiproc machines. I have a new intel x-serve with the dual-core dual-proc setup, and want to get the most I can out of zope. I've read a few articles that mention running more than one zope process as zeo

Re: [Zope] session-timeout-minutes value in runtime Zope

2007-01-23 Thread Maciej Wisniowski
To get number of zope threads from zope.conf I used this code: from App.config import getConfiguration conf = getConfiguration() print conf.zserver_threads Possibly you'll find session-timeout-minutes there too. BTW. AFAIR session timeout is not a precise value especially if you're using high

Re: [Zope] zope/zeo on multiprocessor machines?

2007-01-23 Thread Andreas Jung
--On 23. Januar 2007 09:24:56 -0800 cristopher pierson ewing [EMAIL PROTECTED] wrote: I've been told that zope is not set up to utilize the extra processing power of multiproc machines. I have a new intel x-serve with the dual-core dual-proc setup, and want to get the most I can out of

Re: [Zope] Zope pretends to receive and send XMLRPC data, but strace sees nothing ! (fwd)

2007-01-23 Thread Maciej Wisniowski
And here is the exception that is raised: exception raised in the publish module, in function publish ZODB.POSException.ConflictError database conflict error (oid 0x09, class Products.Transience.Transience.Increaser, serial this txn started with 0x036b192256c66688 2007-01-23

RE: [Zope] Re: FW: Problem Starting Zope after Installation

2007-01-23 Thread Ken Winter
Tres ~ Excellent ideas - thanks! I'm going on vacation for two weeks, but as soon as I'm back I will resume work by doing what you suggest, and will report back the results. ~ Ken -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tres Seaver Sent:

Re: [Zope] Key Error in Catalog Reindex

2007-01-23 Thread Dieter Maurer
KJZZ Webmaster wrote at 2007-1-23 10:13 -0700: File X:\SomePath\Zope-2.8.1-final\lib\python\OFS\DTMLMethod.py, line 153, in __call__ del self.__dict__['validate'] KeyError: 'validate' Does this get us any closer to understanding the problem, or should we take another approach? Yes. At

Re: [Zope] session-timeout-minutes value in runtime Zope

2007-01-23 Thread Dieter Maurer
Peter Bengtsson wrote at 2007-1-23 13:44 +: This might be an FAQ but I wasn't able to find it when searching. How do I get access to the value of 'session-timeout-minutes' coming from etc/zope.conf in runtime Zope? The value is used to configure the so called Session Data Manager (usually