Re: [Zope-dev] Mapping non-Zope Files

2002-02-26 Thread Chris Withers
"Villemin, Remi" wrote: > > Is there a product that allows that? > Thanks a lot, Look for LocalFS. ...and please use the right list. This questions belonged on [EMAIL PROTECTED] [EMAIL PROTECTED] is for development of Zope itself, not development of applications with Zope. cheers, Chris ___

[Zope-dev] Mapping non-Zope Files

2002-02-26 Thread Villemin, Remi
Hi, I want to create a catalog of Zope objects that reflects the structure of an out-of-Zope directory. For all the files in the out-of-Zope directory I would like to have a Zope object containing a link to the actual file. Is there a product that allows that? Thanks a lot, Remi ___

Re: [Zope-dev] still segfaults, this time no ZMySQLDA

2002-02-26 Thread Matthew T. Kromer
in lib/python/Products/PythonScripts/PythonScripts.py, try changing Script_magic to be 4, and see if that helps. FYI, some of this is written up in http://www.zope.org/Members/matt/StabilityHOWTO On Tuesday, February 26, 2002, at 07:15 PM, Leonardo Rochael Almeida wrote: > On Tue, 2002-02

Re: [Zope-dev] still segfaults, this time no ZMySQLDA

2002-02-26 Thread Leonardo Rochael Almeida
On Tue, 2002-02-26 at 20:11, Leonardo Rochael Almeida wrote: > [...] > The options I think I have left: > * Try the new ExtensionClass.h Which one, by the way? the one in HEAD, the one in 2.5 branch or a different one altogether? Does it have any impact in the objects in the ZODB? Can I run a ZEO

[Zope-dev] still segfaults, this time no ZMySQLDA

2002-02-26 Thread Leonardo Rochael Almeida
Hi, It's me and my instability problems again :-) The system: Zope-2.4.4b1 (binary linux-x86 from zope.org) Python-2.1.2 (see above) Products (excluding Zope defaults and ZClass based ones): LocalFS Pagina0_Base (Hiperlógica product) Pagina1_Base (Hiperlógica product) Renderable exUserFolder I

Re: [Zope-dev] problem adding ZClass instances via DTML

2002-02-26 Thread Gilles Lenfant
Mark, It seems you forget the id of your new object !! I use do do it in Python script (easier for testing initial data from request). But you can translate in DTML if you prefer... # Test initial data from REQUEST and redirect somewhere if required ... # Create the new ZClass based object newob

Re: [Zope-dev] Re: Zope vs. Cocoon

2002-02-26 Thread Oliver Bleutgen
Very nice&interesting thread ... Stefano Mazzocchi wrote: >>"Craeg K. Strong" wrote: >>- Because of acquisition, you can add behavior to objects without >>changing their class definitions. >> > > Can you please elaborate more on this? > I'm sure Craeg can and will, but there's IMO a very nice e

Re: [Zope-dev] problem adding ZClass instances via DTML

2002-02-26 Thread Dieter Maurer
Mark James Adams writes: > I'm following the instructions in "Adding ZClass Instances > Programmatically" (http://www.zope.org/Members/taz/addZClasses), but > Zope always returns an error. > > Using the code from a DTMLMethod in another ZClass in the same product: > > > > Where

Re: [Zope-dev] Re: Zope vs. Cocoon

2002-02-26 Thread Stefano Mazzocchi
seb bacon wrote: > > A few points I'd like to add. Before I do, a disclaimer: I've never > used Cocoon, and I really like Zope. Having said that, I've used lots > of other 'competing' systems, and I am able to see Zope's weak points. > > > > > > >Some don't think this 'cloning restriction' a s

[Zope-dev] Re: Zope vs. Cocoon

2002-02-26 Thread Stefano Mazzocchi
"Craeg K. Strong" wrote: > > Hello: > > I am the author of this paper (mea culpa! :-) and I thought I > would respond to your comments. First off, thanks for thorough and > thoughtful review. My responses are embedded below: Craeg, I have to thank you for giving us such good opportunity to

[Zope-dev] sre and import_class

2002-02-26 Thread Matt Behrens
re seems to prefer sre over pre these days, so the following bit of Products/PythonScripts/module_access_examples.py no longer works: # from re import RegexObject, MatchObject # allow_class(RegexObject) # allow_class(MatchObject) The reason seems to be that sre doesn't define RegexObject and M

[Zope-dev] problem adding ZClass instances via DTML

2002-02-26 Thread Mark James Adams
I'm following the instructions in "Adding ZClass Instances Programmatically" (http://www.zope.org/Members/taz/addZClasses), but Zope always returns an error. Using the code from a DTMLMethod in another ZClass in the same product: I get the error: File /usr/local/Zope/lib/python/Docume

Re: [Zope-dev] [ZEO] protocol problem

2002-02-26 Thread Leonardo Rochael Almeida
On Mon, 2002-02-25 at 17:15, Dieter Maurer wrote: > Leonardo Rochael Almeida writes: > > [...] > > > > If this is the case, you might want to increase the timeout on your > > firewall or find a way to make the ZC talk to the ZS regularly so as to > > keep the connection alive (it would be id