RE: [Zope-dev] 2.7.0 corrupt Data.fs

2004-02-13 Thread Tim Peters
[Thomas Anderson] > I'm seeing changes to the ZODB getting lost on reboot. I think it's > because there are no fsync() calls being issued by Zope or even by > zopectl on stopping Zope but I can't be sure. I'm using > /instance/bin/zopectl {start|stop} for controlling Zope. > > I added a "sync" comm

[Zope-dev] 2.7.0 corrupt Data.fs

2004-02-13 Thread Thomas Anderson
I'm seeing changes to the ZODB getting lost on reboot. I think it's because there are no fsync() calls being issued by Zope or even by zopectl on stopping Zope but I can't be sure. I'm using /instance/bin/zopectl {start|stop} for controlling Zope. I added a "sync" command to my /etc/init.d/umountf

Re: [Zope-dev] TypeErrors during 'make test'

2004-02-13 Thread Jeremy Hylton
On Fri, 2004-02-13 at 14:38, Evan Simpson wrote: > I'm getting several TypeErrors when I run 'make test' on the HEAD. Each > of them involves a call to cAccessControl's 'validate' with 'roles' set > to a PermissionRole instance, complaining that it's not iterable. > > Any ideas? These tests ha

[Zope-dev] TypeErrors during 'make test'

2004-02-13 Thread Evan Simpson
I'm getting several TypeErrors when I run 'make test' on the HEAD. Each of them involves a call to cAccessControl's 'validate' with 'roles' set to a PermissionRole instance, complaining that it's not iterable. Any ideas? Cheers, Evan @ 4-am ___ Z

[Zope-dev] This is a good time for people who care about packaging to get involved ;)

2004-02-13 Thread Jim Fulton
This would be a good time for people interested and knowledgeable about packaging systems and who want to influence the direction we take with Zope 3 to get involved. :) Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http:/

Re: [Zope-dev] Strange loop with ZCatalog

2004-02-13 Thread Casey Duncan
On Fri, 13 Feb 2004 19:10:07 +0100 Pascal Samuzeau <[EMAIL PROTECTED]> wrote: > Hi Casey, > > Yes it doesn't lie at all, but i've tried till I suppress all and even >

Re: [Zope-dev] Strange loop with ZCatalog

2004-02-13 Thread Pascal Samuzeau
Hi Casey, Yes it doesn't lie at all, but i've tried till I suppress all and even with 2 it suppressed only one.

Re: [Zope-dev] https with zope 2.7

2004-02-13 Thread Thomas Anderson
That was easy. To get Zope 2.7 working behind the Pound SSL proxy: HTTPS ON On Fri, 2004-02-13 at 01:06, Thomas Anderson wrote: > A fairy clean way did exist in 2.6.x to get zope to generate "https:" > instead of "http" in self referencing URLs, using Pound, and without > standing on

Re: [Zope-dev] restrictedTraverse doesn't give the good container.

2004-02-13 Thread Paul Winkler
Please don't cross-post. You already posted this exact question to [EMAIL PROTECTED], and received two replies to which you did not follow up. On Fri, Feb 13, 2004 at 12:56:13PM +0100, Pascal Samuzeau wrote: (snip) > I have no ti

Re: [Zope-dev] Strange loop with ZCatalog

2004-02-13 Thread Casey Duncan
On Fri, 13 Feb 2004 16:14:05 +0100 Pascal Samuzeau <[EMAIL PROTECTED]> wrote: > Hi, > > >

Re: [Zope-dev] https with zope 2.7

2004-02-13 Thread Chris McDonough
I suspect you can put "HTTP ON" in the section of zope.conf. There isn't any way now to get rid of "HTTP" if it exists in the same namespace, though. Is that necessary? On Fri, 2004-02-13 at 01:06, Thomas Anderson wrote: > A fairy clean way did exist in 2.6.x to get zope to generate "https:" >

Re: [Zope-dev] Strange loop with ZCatalog

2004-02-13 Thread Pascal Samuzeau
Hi, > I already replied to this, but I never heard back from you.

Re: [Zope-dev] Strange loop with ZCatalog

2004-02-13 Thread Casey Duncan
I already replied to this, but I never heard back from you. What does the following return for a value: len(list(context.TheCatalog.searchResults(Type='TypeTest'))) ?? -Casey On Fri, 13 Feb 2004 13:01:35 +0100 Pascal Samuzeau <[EMAIL PROTECTED]> wrote: > Hi,

[Zope-dev] Strange loop with ZCatalog

2004-02-13 Thread Pascal Samuzeau
Hi, For some tests I have done : - Create about

[Zope-dev] restrictedTraverse doesn't give the good container.

2004-02-13 Thread Pascal Samuzeau
Hi, Today, I have this situation: Under my root Z

Re: [Zope-dev] Put an adapted object in context

2004-02-13 Thread Santi Camps
> Okay, though Acquisition.Implicit is actually going to make your namespace > issues worse; better use Acquisition.Explicit and enjoy another benefit of > adapters -- namespace separation. I suspect though that your application's > goals/design are different than mine. I appreciate adapters in pa

Re: [Zope-dev] Put an adapted object in context

2004-02-13 Thread Martijn Faassen
Santi Camps wrote: > Thats very interesting !! I was rewriting __getattr__ to allow the > adapter access adapted object attributes, but doing this way its clear > and easier. Inheriting from Acquisition Implicit and applying the > adapter using __of__ I obtain the same result and have less proble