Re: [Zope] Multiple zope instances using the same storage

2008-12-08 Thread Mark Gibson
Dieter Maurer wrote: Mark Gibson wrote at 2008-12-6 11:22 -0700: I have an unusual setup. I have 4 distinct Zope instances (4 seperate Data.fs'). Each Data.fs is identical - Data is kept in a RDBMS. I have a product I need to install that stores data in the ZODB. This data is stored

[Zope] Multiple zope instances using the same storage

2008-12-06 Thread Mark Gibson
I have an unusual setup. I have 4 distinct Zope instances (4 seperate Data.fs'). Each Data.fs is identical - Data is kept in a RDBMS. I have a product I need to install that stores data in the ZODB. This data is stored in one folder. Now, I *think* I can simply mount this folder in each

Re: [Zope] Five and editform

2008-10-17 Thread Mark Gibson
JeanMichel FRANCOIS wrote: Hi Mark Gibson, Do you develop this with egg ? throw Products namespace ? The zcml seems good. If you develop outside of the Products namespace don't forget to include your package in the site.zcml. You can verify this by making a mistake in the zcml and try

[Zope] Five pointers

2008-10-16 Thread Mark Gibson
I'm developing a new product for a Zope 2.9.7 site (no CMF). I'd like to use Zope 3 technologies for this product. I've been looking around for a few days, most of what I see describes development for Zope 3, or Five in the context of Plone. Is there a tutorial or a product I can reference

[Zope] Five and editform

2008-10-16 Thread Mark Gibson
I created a simple content type. I can create an object, but I can't call my view or edit form on it. If I try object/boring_editform or object/index.html I get a Not Found error. Here's what I have in my configure.zcml: --- browser:editform schema=boring.interfaces.IBoring

[Zope] ZServer error

2006-10-02 Thread Mark Gibson
(Zope 2.8.7-final, python 2.4.3, linux2) I see the following error in my event.log a couple of times a day: 2006-10-02T07:13:00 ERROR ZServer uncaptured python exception, closing channel ZServer.HTTPServer.zhttp_channel connected 10.0.20.6:51398 at -0x68ce9834 channel#: 1517 requests:

Re: [Zope] ZServer error

2006-10-02 Thread Mark Gibson
Great, Thanks! Mark Pascal Peregrina wrote: As far as I know, this means that the requester closed the connection (like a browser timing out, etc...). In general, I would say, nothing to worry about... Pascal De : Mark Gibson [EMAIL PROTECTED] Date : Mon, 02 Oct 2006 11:58:31 -0600 À

[Zope] Packing Data.fs

2006-08-29 Thread Mark Gibson
I know zope makes a copy of Data.fs before packing. Is it possible to specify a location other than zope/var to place that copy? Mark ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding!

[Zope] Basic Template question : 'truthiness'

2006-06-11 Thread Mark Gibson
I thought I knew how this stuff worked, but this has gotten me banging my head against a wall. I'm trying to evaluate a condition expression, and I'm not getting what I expect when using path, and I get a different result when using python. The following expressions results=span

[Zope] ZCatalog Strategy

2006-03-22 Thread Mark Gibson
I'm struggling to weigh the cost of getObject() vs. the cost of adding more metadata to the catalog. I'll explain my situation. I have 10,000 widgets cataloged. I do a path and date query that returns me maybe 12 of these. Then I have a choice of calling getObject().getData() on each of

Re: [Zope] Render a string as tal

2005-11-15 Thread Mark Gibson
On Mon, 2005-11-14 at 13:38, Paul Winkler wrote: On Mon, Nov 14, 2005 at 01:19:18PM -0700, Mark Gibson wrote: I would like to be able to render an arbitrary string as tal, having the tal statements evaluated correctly. How would I go about doing this? I assume you mean TALES

[Zope] Render a string as tal

2005-11-14 Thread Mark Gibson
I would like to be able to render an arbitrary string as tal, having the tal statements evaluated correctly. How would I go about doing this? -- Mark Gibson [EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo

Re: [Zope] fine grained, dynamic permissions based on attribute values

2005-10-18 Thread Mark Gibson
On Tue, 2005-10-18 at 11:05, Chris Crownhart wrote: Good day, I am wondering if/how I could control the permissions on an object based on the value of an attribute. I am using CMF, and thus portal_catalog, and have built a custom content type. My type has a category field. I would

Re: [Zope] DateTime and TimeZone

2005-09-06 Thread Mark Gibson
It seems that since the Pacific timezone is in daylight savings time, the correct offset is -7. So nevermind. On Tue, 2005-09-06 at 00:53, Mark Gibson wrote: I installed zope 2.7.6 on a windows 2000 machine. This machine is set to the pacific timezone. When I run python from

[Zope] Help me with acquisition and custom types

2005-08-21 Thread Mark Gibson
at '/ObjectA', I'd like it to return ObjectA at '/folder/myfolder/ObjectA' Any ideas how I would go about making this happen? -- Mark Gibson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope ** No cross posts

[Zope-dev] Zope 2.2.2 bug

2000-09-24 Thread Mark Gibson
I hope zope-dev is the right list to post this - I'm runining zope 2.2.2 on linux with python 1.5.2 Here's the set-up. I create a python class to act as a base class for a ZClass. I create a folder in Products called bugtest. Create a python class called bugtest. create and __init__.py