Re: [Zope-dev] status of buildout.zope.org

2008-06-03 Thread Baiju M
Martijn Faassen wrote: Hi there, So, what's the status of buildout.zope.org? It's not up and running yet. What's holding it up? Can I do something to help? (I won't actually do anything about the content or layout, but I can talk to people if it's somehow blocked) We are still working

[Zope-dev] Re: Strange serializing error when commiting - zope.sqlalchemy

2008-06-03 Thread Laurence Rowe
Hermann Himmelbauer wrote: Am Montag, 2. Juni 2008 20:04 schrieb Hermann Himmelbauer: Hi, In my zope3 tests, I set up some basic test data. After that, I'm calling transaction.commit(). However, I get the following traceback: --- snip --- File copy_reg.py, line

[Zope-dev] Re: Strange serializing error when commiting - zope.sqlalchemy

2008-06-03 Thread Laurence Rowe
Laurence Rowe wrote: Hermann Himmelbauer wrote: Am Montag, 2. Juni 2008 20:04 schrieb Hermann Himmelbauer: Hi, In my zope3 tests, I set up some basic test data. After that, I'm calling transaction.commit(). However, I get the following traceback: --- snip ---

[Zope-dev] Zope Tests: 5 OK

2008-06-03 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Mon Jun 2 11:00:00 2008 UTC to Tue Jun 3 11:00:00 2008 UTC. There were 5 messages: 5 from Zope Tests. Tests passed OK --- Subject: OK : Zope-2.8 Python-2.3.6 : Linux From: Zope Tests Date: Mon Jun 2 20:57:27 EDT 2008 URL:

Re: [Zope-dev] status of buildout.zope.org

2008-06-03 Thread Martijn Faassen
Hi there, On Tue, Jun 3, 2008 at 11:22 AM, Baiju M [EMAIL PROTECTED] wrote: Martijn Faassen wrote: So, what's the status of buildout.zope.org? It's not up and running yet. What's holding it up? Can I do something to help? (I won't actually do anything about the content or layout, but I

Re: [Zope-dev] Re: Strange serializing error when commiting - zope.sqlalchemy

2008-06-03 Thread Hermann Himmelbauer
Am Dienstag, 3. Juni 2008 12:21 schrieb Laurence Rowe: Laurence Rowe wrote: I found it by myself: I registered a zope.sqlalchemy related utility, which stores an engine (self.engine = create_engine(DSN,...)) and a scoped session (self.Session = scoped_session(sessionmaker...)). These two

[Zope-dev] Buildout parameter parsing

2008-06-03 Thread Malthe Borch
I think a valuable extension to the parameter parsing in buildout's configuration language would be to allow += and -= operators, which would append and remove items, respectively. Example: [instance] eggs += Products.PDBDebugMode Singular or plural arguments would be supported. \malthe

Re: [Zope-dev] Re: Strange serializing error when commiting - zope.sqlalchemy

2008-06-03 Thread Laurence Rowe
See the long discussion on zope.sqlalchemy Integration ideas. I think the simplest way to achieve this is to register a global utility for each site, with the site name as the utility name perhaps. You can then register an ISession adapter for the root object in each site that does: session =

[Zope-dev] Five, Z2 publisher, and zope.traversing views

2008-06-03 Thread Tarek Ziadé
Hi, When using a resource directory in a Zope 2 app, if the directory contains subdirectories that have the same names than the views defined in zope.traversing, this will lead to a bug when traversed because the Z2 Publisher will get slaped back. This can happen for example if your

Re: [Zope-dev] Buildout parameter parsing

2008-06-03 Thread Rafael Oliveira
On Tue, Jun 3, 2008 at 9:52 AM, Malthe Borch [EMAIL PROTECTED] wrote: I think a valuable extension to the parameter parsing in buildout's configuration language would be to allow += and -= operators, which would append and remove items, respectively. Example: [instance] eggs +=

[Zope-dev] Re: Buildout parameter parsing

2008-06-03 Thread Philipp von Weitershausen
Malthe Borch wrote: I think a valuable extension to the parameter parsing in buildout's configuration language would be to allow += and -= operators, which would append and remove items, respectively. Example: [instance] eggs += Products.PDBDebugMode Singular or plural arguments would be

[Zope-dev] Re: Buildout parameter parsing

2008-06-03 Thread Malthe Borch
Philipp von Weitershausen wrote: This isn't the buildout list :). I think buildout matters are discussed on the distutils SIG mailinglist. I guess they're also discussed here now :P There's also an issue tracker at https://edge.launchpad.net/zc.buildout. I'll submit it there, thanks.

[Zope-dev] Re: Buildout parameter parsing

2008-06-03 Thread Malthe Borch
This is now: https://answers.edge.launchpad.net/zc.buildout/+question/35159 ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists -

[Zope-dev] Re: DirectoryResource, Five and IAbsoluteURL

2008-06-03 Thread Malthe Borch
Malthe Borch wrote: However, trying to get the absolute url of the resource fails, and it seems to be an acquisition-wrapping thing. FWIW, this adapter will do the trick, although it's hardly a solid solution: class SimpleResourceAbsoluteURL(object): interface.implements(

[Zope-dev] DirectoryResource, Five and IAbsoluteURL

2008-06-03 Thread Malthe Borch
These three don't mix well; here's the setup: Using ``zope.traversing.api.traverse``, we're able to traverse from the site root to the directory resource, and on to the actual resource by way of OFS.Traversable. However, trying to get the absolute url of the resource fails, and it seems to

Re: [Zope-dev] Re: Strange serializing error when commiting - zope.sqlalchemy

2008-06-03 Thread Dieter Maurer
Hermann Himmelbauer wrote at 2008-6-3 14:00 +0200: ... Hmmm, it's not that easy: I have multiple sites on one Zope3 instance, whereas every site should connect to another database. For that reason, I thought about a local utility. However, this results in this serialization error. Usually, you