[Zope] ERROR ZODB.Connection Couldn't load state for 0x04

2009-04-13 Thread Mark Gibson
Zope 2.9.7 Apparently, I've done something bad and created "cross database reference". At least, that's what I gather from googling the ZODB error. I have 3 filesystem storages. One contains a ZCatalog that references objects in the other. Is this the cause of the error? I can't start zope

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

[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 ZOD

Re: [Zope] Five and editform

2008-10-17 Thread Mark Gibson
te.zcml, and it does implement the IBoring interface. Any other ideas? I read somewhere that I have to include this: And read somewhere else that five:traversable is deprecated. In any case, including or not including this makes no difference. Thanks, Mark JeanMichel FRANCOIS wrote: &

[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: --- --- What am I missing? Thanks, Mark ___

[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 th

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 -

[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 -0x68ce9834 channel#: 1517 requests:> (socket.error:(104, 'Connection reset by peer') [/usr/lib/python2.4/a

[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 /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= dosearch= query

[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 the

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 th

[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/m

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 > woul

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 pyt

[Zope] DateTime and TimeZone

2005-09-05 Thread Mark Gibson
7;GMT-7' is the Mountain timezone. The actual time should read DateTime('2005/09/06 23:55:29.620 GMT-8') for the Pacific timezone. What controls the default timezone behavior of DateTime on Windows? How can I get this working correctly?

[Zope] Help me with acquisition and custom types

2005-08-21 Thread Mark Gibson
the ObjectA 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://mai