[Zope-CMF] Action expression context

2010-03-04 Thread Miles Waller
Hello! A long time ago, I proposed a change so that applications could customise the expression context. http://www.mail-archive.com/zope-...@lists.zope.org/msg06079.html I've only just got round to making the change, and was going to check it in - as it was so long ago, I thought I'd flag it up

Re: [Zope-dev] HA storage for zope

2009-06-03 Thread Miles Waller
Is there anything else worth considering? Dedicated HA-hardware. We are using a SUN Cluster for all of our backend service like ZEO, Oracle, Postgres and LDAP. I'm interested in how that works specifically with zeo. how does it ensure the clustered Zeos don't try to write conflicting

Re: [Zope-dev] HA storage for zope

2009-06-03 Thread Miles Waller
Hi Jens, * ** I'm looking at a HA setup for a project, and was wondering what the ** current best way forward would be. There seem to be a few potential ** options around for the storage end of the setup, and I'm wondering ** what's now considered the current best practice for this sort of **

[Zope-dev] HA storage for zope

2009-06-02 Thread Miles Waller
Hi, I'm looking at a HA setup for a project, and was wondering what the current best way forward would be. There seem to be a few potential options around for the storage end of the setup, and I'm wondering what's now considered the current best practice for this sort of setup. Specifically,

[Zope] ZeoRAID usage in production

2009-06-02 Thread Miles Waller
Hi, This is mainly a question for Christian, but I'm cc'ing the list as it will be useful knowledge to be generally available. I was looking at this product and thinking about using it in an upcoming assignment. From the docs: Keep backups of your data. ZEORaid has good unit test coverage but

[Zope] Conflict error

2009-03-19 Thread Miles Waller
Hi I have a PAS plugin that pulls user properties from a sql database. Intermittently, I get conflicterrors from the plugin when zope commits its transaction - even though no db changes have been made. Frustratingly, there is very little information in the traceback of actual use, other

[Zope-dev] zodb session errors

2006-11-16 Thread Miles Waller
Hi, We have a site that we've recently upgraded from 2.7.6 to 2.8.8 which has started exhibiting higher-than-average session errors. The site consists of 2 zeo clients on 2 separate machines, with a shared session tempstorage mounted via the zeo server. I expect some errors with sessions

[Zope-dev] Re: zodb session errors

2006-11-16 Thread Miles Waller
to be mysteriously lost at certain times on the other machine when it looks in the wrong timeslice. I'm not sure why it wouldn't be possible to create new sessiondata as below though - is this explanation a possibility? Miles Miles Waller wrote: Hi, We have a site that we've recently upgraded

[Zope-dev] Re: Moving ZopeVersionControl to subversion?

2006-10-09 Thread Miles Waller
I noticed that Tres was making changes in CVS and preparing a 0.3.2 release, so there is at least some activity. That was me ... I badgered Tres into incorporating a patch I'd put into the tracker. Before that there was no activity. It definitely doesn't have a maintainer. There are

[Zope-dev] Collector issue 2137

2006-09-20 Thread Miles Waller
Hi, I reported a bug back in the summer, and submitted patches and tests for it: http://www.zope.org/Collectors/Zope/2137 The bug was in ZopeVersionControl, which is in the CVS repository. Does anyone know who is responsible for this code? I think there are a few users of the product

[Zope] upgrade from 2.7.5 to 2.8.6

2006-09-15 Thread Miles Waller
Hi, I have just upgraded the staging/test version of a large site from 2.7.5 to 2.8.6. When restarting zeo, it seemed to take a 'long' (in the most subjective sense) time to come up, and I noticed this entry in the logs: 2006-09-14T17:36:23 WARNING ZODB.FileStorage Failed to load database

[Zope-dev] port number for HTTPServer

2006-07-17 Thread Miles Waller
Hi, I am trying to find out the port number for the HTTP service running in a zope instance. I tried using socket_map as used in the Control_Panel interface to report on running network services, but abandoned this because I need to get the same information when running in a debug instance

[Zope] Changing class of objects in the ZODB

2006-06-12 Thread Miles Waller
Hi, Does anyone have a good approach to changing the class of an object already stored in the ZODB? A site is using classes defined and customised in a product on the filesystem, and I want to split the product into two to separate the unmodified vanilla product, and customisations. I

Re: [Zope] Changing class of objects in the ZODB

2006-06-12 Thread Miles Waller
To confirm, I *just* want to change the class - attribute values, name and state information can remain exactly the same. XML import/export is a good approach which I need to think about a bit more. On the face of it, the data.fs is well over 1Gb in size after packing, and so is likely to

[Zope] Re: relevance ranking in ZCTextIndex or equivalent

2006-06-02 Thread Miles Waller
about lists and btrees can comment if there's a better way to do the sorting and concatenation of the different result sets. Thanks, Miles Jonathan wrote: - Original Message - From: Miles Waller [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 31, 2006 10:59 AM Subject

[Zope] relevance ranking in ZCTextIndex or equivalent

2006-05-31 Thread Miles Waller
Hi, I'm planning to implement a text search where (match against the title) ranks more highly than (match in the description) ranks more highly than (matches against the body text). Titles and descriptions are short bits of text, so results in these categories can be ranked just by the