[Zope-dev] Zope Tests: 5 OK

2007-04-11 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Tue Apr 10 12:00:00 2007 UTC to Wed Apr 11 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: Tue Apr 10 20:50:46 EDT 2007

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

2007-04-11 Thread Maciej Wisniowski
Hi 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 conflict errors with Inceraser, OOBTree, Length2

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

2007-04-11 Thread Michael Dunstan
On 4/12/07, Maciej Wisniowski [EMAIL PROTECTED] wrote: Hi 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

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

2007-04-11 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Maciej Wisniowski wrote: Hi 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

[Zope-PAS] struggling with Local Role plugin

2007-04-11 Thread Stan McFarland
Hi, I have what I think is a fairly simple use case for my Plone site. I want to be able to add a local role dynamically based on two factors - the content of the object, and a given external condition. So I've written a local role plugin, where getRolesInContext() checks these two factors

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

2007-04-11 Thread Stan McFarland
a quick way to check this and roles in general, is put together a python script that shows the users roles and permissions in context, as a quick example, here's one i use on occassion (check_roles).. and just invoke by in the url after the context, by appending check_roles. member =

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

2007-04-11 Thread Stan McFarland
a quick way to check this and roles in general, is put together a python script that shows the users roles and permissions in context, as a quick example, here's one i use on occassion (check_roles).. and just invoke by in the url after the context, by appending check_roles. member =

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

2007-04-11 Thread Wichert Akkerman
Previously Stan McFarland wrote: a quick way to check this and roles in general, is put together a python script that shows the users roles and permissions in context, as a quick example, here's one i use on occassion (check_roles).. and just invoke by in the url after the context,

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

2007-04-11 Thread Stan McFarland
Wichert Akkerman [EMAIL PROTECTED] writes: Use a dynamic group. Wichert. Wichert, Thanks for the response. I can see where there's some similarity in the notion of adding a role to a user dynamically and adding a user to a group dynamically, assuming that the group has the

Re: [Zope] Simple ZODB Search and Edit

2007-04-11 Thread Sascha Welter
(Tue, Apr 10, 2007 at 11:01:39AM +0200) Peppe Top wrote/schrieb/egrapse: I'm new to Zope and I'm reading through a few tutorials and the Zope book. I need to do a text string search on a ZODB and I need to know which objects contain the string. Example: I have a site running up, and I need

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

2007-04-11 Thread Stefan H. Holek
You are missing the [P] in your rewrite rule. Please follow How-tos to the letter. ;-) Stefan On 11. Apr 2007, at 06:23, Mark, Jonathan (Integic) wrote: VirtualHost *:80 RewriteEngine on DocumentRoot /var/www Servername goodbyeken.com RewriteRule /(.*)

Re: [Zope] manipulating zodb from independent database connection

2007-04-11 Thread Stefan H. Holek
On 11. Apr 2007, at 07:19, Tim Nash wrote: I'm using zope 2.5 (matches a book I like) and doing like so: This is a *very* old release (5 years?). from ZODB import FileStorage, DB storage = FileStorage.FileStorage('Data.fs') db = DB(storage) connection = db.open() root = connection.root()

Re: [Zope] Z Search Interface returns numbers

2007-04-11 Thread Peppe Top
When I search something in the SearchForm (via the test tab) I just get numbers. I mean the ReportForm correctly reports the objects containing the searched string, but lists handles (I guess). You missed a step: you must use the Metadata tab of the ZCatalog to define which fields of the

Re: [Zope] Access to list items with path expression

2007-04-11 Thread David H
Garito wrote: Hi! Is there any way to access to some list index with TALES expression? I would like to use something like here/list/0 or here/list/int:0 Is this possible? Thanks! -- Mis Cosas http://blogs.sistes.net/Garito Hi Garito, Try something like: tal:content=python:

RE: [Zope] Problem with using versions.

2007-04-11 Thread Catherine E. Reinehr
I'm running 2.6.2. What's the most recent stable release? 2.10.3? I hate to say this, but my Zope knowledge is very limited. I'm really only using it because it's what my predecessor used to build the web site in the first place, and she's not a whole lot of help now. I went here

Re: [Zope] Simple ZODB Search and Edit

2007-04-11 Thread Peppe Top
Example: I have a site running up, and I need to know where my mail is mentioned, so I can edit each object and update the mail. (I think using ZMI) Go to the Root Folder in the ZMI, click on the Find tab. Enter whatever data you have and click on Find. Yeah, that works, but I need to

[Zope] xmlrpc error handling

2007-04-11 Thread Kevin
In order to avoid zodb implosion, is it sufficient to raise an xmlrpclib Fault object from a method where some validation was not successful? Will zope abort transactions and avoid an other avoidable bad things from happening? Do I have to use fault or can I raise just any error an

Re: [Zope] Problem with using versions.

2007-04-11 Thread Paul Winkler
On Wed, Apr 11, 2007 at 09:00:12AM -0500, Catherine E. Reinehr wrote: I'm running 2.6.2. What's the most recent stable release? 2.10.3? Yes, but the Version feature was removed after zope 2.7. From the changelog for zope 2.8: * Removed Version objects from the add menu. Versions are agreed to

Re: [Zope] xmlrpc error handling

2007-04-11 Thread Paul Winkler
On Wed, Apr 11, 2007 at 01:38:21PM -0400, Kevin wrote: In order to avoid zodb implosion, is it sufficient to raise an xmlrpclib Fault object from a method where some validation was not successful? yes. Will zope abort transactions yes. and avoid an other avoidable bad things from

Re: [Zope] [Ann] analyseObjects: analyse live objects

2007-04-11 Thread Dieter Maurer
Halle Marco, Marco Bizzarri wrote at 2007-4-10 21:41 +0200: ... am I missing something, or the code is not on the web? I tried and it was there... -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No

Re: [Zope] Problem with using versions.

2007-04-11 Thread Dieter Maurer
Catherine E. Reinehr wrote at 2007-4-10 20:01 -0500: I've been working in a version for over a week and finally finished my changes today. I saved them and quit the version, but the affected folder still has a lock on it. I've tried four times now to save my changes, and it's just not working.

RE: [Zope] Problem with using versions.

2007-04-11 Thread Catherine E. Reinehr
Okay. I'll see about upgrading to 2.10.3 and check out that web site to read up on versions. I think what I may need to do is just recreate my changes outside of the version, which of course will take longer, but at least I won't risk losing anything. I had no idea versions were so buggy; I

Re: [Zope] [Ann] analyseObjects: analyse live objects

2007-04-11 Thread Marco Bizzarri
On 4/11/07, Dieter Maurer [EMAIL PROTECTED] wrote: Halle Marco, Marco Bizzarri wrote at 2007-4-10 21:41 +0200: ... am I missing something, or the code is not on the web? I tried and it was there... My apologies: yesterday I was unable to find it. Next time I will ask someone to check for

Re: [Zope] Problem with using versions.

2007-04-11 Thread Paul Winkler
On Wed, Apr 11, 2007 at 01:53:42PM -0500, Catherine E. Reinehr wrote: I had no idea versions were so buggy; I wouldn't have used them in the first place if I had. :/ Not your fault, all the old documentation encourages people to use them :( -- Paul Winkler http://www.slinkp.com

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

2007-04-11 Thread Mark, Jonathan (Integic)
Thanks to everyone who helped me set up Zope 2.9 behind Apache 2.2. I copied the rewrite rule that Hara Dilley provided and everything worked: RewriteRule ^/(.*) \ http://localhost:8080/VirtualHostBase/http/%{SERVER_NAME}:80/myVHM/VirtualHostRoot/$1 [L,P]