[Zope-Checkins] SVN: Zope/trunk/lib/python/OFS/tests/testCopySupportEvents.py Repair (and simplify) tests in response to

2007-04-12 Thread Stefan H. Holek
Log message for revision 74109: Repair (and simplify) tests in response to http://www.zope.org/Collectors/Zope/2308. Changed: U Zope/trunk/lib/python/OFS/tests/testCopySupportEvents.py -=- Modified: Zope/trunk/lib/python/OFS/tests/testCopySupportEvents.py

[Zope-Checkins] SVN: Zope/branches/2.10/lib/python/OFS/tests/testCopySupportEvents.py Merged trunk r74108:74109 into 2.10 branch.

2007-04-12 Thread Stefan H. Holek
Log message for revision 74110: Merged trunk r74108:74109 into 2.10 branch. Repair (and simplify) tests in response to http://www.zope.org/Collectors/Zope/2308. Changed: U Zope/branches/2.10/lib/python/OFS/tests/testCopySupportEvents.py -=- Modified:

Re: [Zope-dev] Re: Sessions and long requests = conflicts? Mcdutils?

2007-04-12 Thread Maciej Wisniowski
I dropped further development on it once I evaluated the cost of having session data disappear (or become inaccessible) when new memcache servers were added, or old ones removed. Thanks for clearing that. If you are *sharing* mutable session data between multiple long-running requests, and

Re: [Zope-dev] Re: Sessions and long requests = conflicts? Mcdutils?

2007-04-12 Thread Maciej Wisniowski
If you believe that 'faster' is raising conflicts due its own internal data structures (OOBTree bucket splits), rather than in the application-dveined session data, there is a conflict-free alternative available: we found that it was slower than the other, and therefore didn't scale as

[Zope-dev] Zope Tests: 5 OK

2007-04-12 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Wed Apr 11 12:00:00 2007 UTC to Thu Apr 12 12:00:00 2007 UTC. There were 5 messages: 5 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2.7 Python-2.3.6 : Linux From: Zope Unit Tests Date: Wed Apr 11 20:50:22 EDT 2007

[Zope-dev] unit tests

2007-04-12 Thread Miles
Hi, I am running a set of unit tests for a custom product nightly via a buildbot installation, via bin/zopectl test -s Products.MyProduct in zope 2.9. Sorry in advance that this looks complicated - my query is actually pretty straightforward! Recently, I introduced a bug in the

Re: [Zope-dev] unit tests

2007-04-12 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12 Apr 2007, at 13:35, Miles wrote: However, having logged this, the testrunner proceeded to run all my tests correctly, and so the buildbot reported a pass. I expected the testrunner to bomb out on encountering this error, but it didn't -

Re: [Zope-dev] Sessions and long requests = conflicts? Mcdutils?

2007-04-12 Thread Maciej Wisniowski
You could keep experimenting with values to reduce the chances of conflicts. Perhaps sessions that last for days. With resolution of hours. Disabling inband housekeeping. Note that a session-timeout-minutes of 0 enables a slightly different approach which has a little less active structure.

[Zope-dev] Re: Sessions and long requests = conflicts? Mcdutils?

2007-04-12 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Maciej Wisniowski wrote: If you believe that 'faster' is raising conflicts due its own internal data structures (OOBTree bucket splits), rather than in the application-dveined session data, there is a conflict-free alternative available: we found

[Zope-dev] Re: unit tests

2007-04-12 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jens Vagelpohl wrote: On 12 Apr 2007, at 13:35, Miles wrote: However, having logged this, the testrunner proceeded to run all my tests correctly, and so the buildbot reported a pass. I expected the testrunner to bomb out on encountering

Re: [Zope-dev] Sessions and long requests = conflicts? Mcdutils?

2007-04-12 Thread Dieter Maurer
Maciej Wisniowski wrote at 2007-4-11 20:28 +0200: Currently I have some problems with our application (Zope2.8.4) and with Conflict Errors in sessions. In general if we have few concurrent requests that are running sometimes for 3-4 minutes (and they're touching session inside) I get a lot of

Re: [Zope-dev] Re: Sessions and long requests = conflicts? Mcdutils?

2007-04-12 Thread Maciej Wisniowski
Did you configure the faster SDC to disable the 'lazy' flag? That flag disables modification of the SDC's linked list until the sesion is actually modified, rather than being just accessed as you are doing here. I tried both, with and without 'lazy' setting. I used _BUCKET_TYPE =

[Zope-PAS] Re: struggling with Local Role plugin - followup question

2007-04-12 Thread Stan McFarland
Wichert Akkerman [EMAIL PROTECTED] writes: Use a dynamic group. Wichert. Wichert, I successfully created a IGroupsPlugin, and I'm now succesfully able to grant/deny access to a specific object by using the request.PUBLISHED attribute to examine the attributes of the object. If the

Re: [Zope] RE: VirtualHostBase VHM keyword doesn't work.

2007-04-12 Thread Sascha Welter
(Tue, Apr 10, 2007 at 09:34:02PM -0700) Dilley, Hara wrote/schrieb/egrapse: are you loading the proxy modules? here is part of the http.config file that is working for me, however with that configuration all request are going to zope. Is there a way to have part of the requests going to zope

RE: [Zope] Problem with using versions.

2007-04-12 Thread Dieter Maurer
Catherine E. Reinehr wrote at 2007-4-11 13:53 -0500: I had no idea versions were so buggy; I wouldn't have used them in the first place if I had. :/ Version was a very nice thing. We used it intensively back in the old days of TTW development. They are far less usefull, as soon as global objects

[Zope] Changing links base address

2007-04-12 Thread Peppe Top
Hi, thanks to your help I've successfully searched and edited the content of the site (the guy who manged it is unavailable at the moment). Now when I look at the html I see there are a lot of absolute links like: base ... www.site.net script ... www.site.net link ... www.site.net...css href

[Zope] nested queries and zpt

2007-04-12 Thread SpiderX
I have an internal application that I am developing, about server configurations. I have a list of customers who own servers. I have a list of software which is linked to the list of servers. My server list looks like this (simplified): url: ServerList?CustomerID=123456 tal:x repeat=server

Re: [Zope] nested queries and zpt

2007-04-12 Thread Maciej Wisniowski
url: ServerList?CustomerID=123456 tal:x repeat=server here/serverlist-sql tal:x replace=server/nameservername/tal:x tal:x replace=server/IDserver ID number/tal:x tal:x replace=structure here/ServerSoftwareListlist of software goes here/tal:x .../tal:x The problem is that the