Re: [Zope-dev] Re: Read-only root database doesn't work ... bug orfeature?

2004-05-26 Thread Martijn Faassen
Paul Winkler wrote:
The fix is in the latest Formulator CVS; Paul, please test it if you can 
and let me know if you still see the untowards behavior.

It seems good, thanks!!
Great! Thanks everybody!
Regards,
Martijn
___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Re: Read-only root database doesn't work ... bug orfeature?

2004-05-25 Thread Martijn Faassen
Tim Peters wrote:
[Martijn Faassen]
...
I'm not sure whether the patch ever could've worked. Firstly, the rich
comparison operations were never called; I think perhaps due to some
limitation in ExtenionClass.

ExtensionClass doesn't play well with many newer Python class features.
Rich comparisons are one of them.
That's what I figured, thanks Tim for confirming it.
Anyway, I think I fixed at least the matter for field help topics in a 
much simpler way, though I don't know whether other sections don't do 
ZODB writes either on startup. If it's in the normal Zope help 
registration then we have a bigger problem. :)

The fix is in the latest Formulator CVS; Paul, please test it if you can 
and let me know if you still see the untowards behavior.

Regards,
Martijn
___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Re: Read-only root database doesn't work ... bug orfeature?

2004-05-25 Thread Chris McDonough
On Tue, 2004-05-25 at 12:48, Martijn Faassen wrote:
 Anyway, I think I fixed at least the matter for field help topics in a 
 much simpler way, though I don't know whether other sections don't do 
 ZODB writes either on startup. If it's in the normal Zope help 
 registration then we have a bigger problem. :)

DEATH TO THE HELP SYSTEM!

- C



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Re: Read-only root database doesn't work ... bug orfeature?

2004-05-25 Thread Chris Withers
Chris McDonough wrote:
DEATH TO THE HELP SYSTEM!
I'm sure I remember reading that about the OLD help system ;-)
Chris - Zope.org anyone?
--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk
___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Re: Read-only root database doesn't work ... bug orfeature?

2004-05-25 Thread Chris McDonough
On Tue, 2004-05-25 at 14:45, Chris Withers wrote:
 Chris McDonough wrote:
 
  
  DEATH TO THE HELP SYSTEM!
 
 I'm sure I remember reading that about the OLD help system ;-)

This *is* the old help system.

- C



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Re: Read-only root database doesn't work ... bug orfeature?

2004-05-25 Thread Paul Winkler
On Tue, May 25, 2004 at 06:48:56PM +0200, Martijn Faassen wrote:
 Tim Peters wrote:
 [Martijn Faassen]
 ...
 
 I'm not sure whether the patch ever could've worked. Firstly, the rich
 comparison operations were never called; I think perhaps due to some
 limitation in ExtenionClass.
 
 
 ExtensionClass doesn't play well with many newer Python class features.
 Rich comparisons are one of them.
 
 That's what I figured, thanks Tim for confirming it.
 
 Anyway, I think I fixed at least the matter for field help topics in a 
 much simpler way, though I don't know whether other sections don't do 
 ZODB writes either on startup. If it's in the normal Zope help 
 registration then we have a bigger problem. :)
 
 The fix is in the latest Formulator CVS; Paul, please test it if you can 
 and let me know if you still see the untowards behavior.

It seems good, thanks!!

Now I've discovered a few more products that are read-only-incompatible :-(
CMFCalendar and (eek) CMFCore. 
I'll look into those and see if a similar fix will help.

-- 

Paul Winkler
http://www.slinkp.com

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Re: Read-only root database doesn't work ... bug orfeature?

2004-05-25 Thread Chris McDonough
On Tue, 2004-05-25 at 15:51, Chris Withers wrote:
 Chris McDonough wrote:
 
 I'm sure I remember reading that about the OLD help system ;-)
  
  This *is* the old help system.
 
 Oh? What was the on before it then?

I'm afraid you've invented an earlier help system in your mind.

- C



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Re: Read-only root database doesn't work ... bug orfeature?

2004-05-25 Thread Paul Winkler
On Tue, May 25, 2004 at 03:46:16PM -0400, Paul Winkler wrote:
 Now I've discovered a few more products that are read-only-incompatible :-(
 CMFCalendar and (eek) CMFCore. 
 I'll look into those and see if a similar fix will help.

False alarm, apparently caused by me moving my product directories 
around while testing.  registerHelp checks the directory mod time 
and returns immediately unless it's more recent than the last 
registration time. My moving stuff around triggered that.

So after one startup with read-only off, I restarted
with read-only on and presto, all my products work. Whew!

-- 

Paul Winkler
http://www.slinkp.com

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )