Re: [Zope-dev] Zope 2.6 project updated
Gary Poster wrote: > So, um, Stephan, any ideas? :-) I know you are busy, but are you > interested in getting this in 2.6? I could help with testing as before, but > I'd prefer to have you signed on as the primary resource. I don't know OrderedFolder very well but it'd be very useful in several of my projects, so I can volunteer a bit of time in helping to get it in Zope 2.6 as well. Regards, Martijn ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] sqlvar and longs
Hi all, I have a little question on . My problem is, that i want to insert values into a table and the type of the values are integer8. I tried with but it doesnt work. How can i use with longs? Will this feature be added in further versions? Is there a product which patches this problem? If not i would write such a thing myself. Regards -- Andre SchubertEMail: [EMAIL PROTECTED] Tel: 03774 6625-78 km3 teledienst GmbH Fax: 03774 6625-79 ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] recursion depth exceeded
Hi Terry, Terry Kerr wrote: > > I am running a fairly high traffic Zope server where people occassionly ftp > files in and out of the server. > > Approximately once per week, the zope process will go to using 99%CPU and stay > like that untill it is restarted. Since we've experienced identical problems on Linux, using Python 2.1.1, I suspect a Zope bug and so have submitted a collector entry: http://collector.zope.org/Zope/268 cheers, Chris ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
SV: [Zope-dev] Zope 2.6 project updated
> I don't know OrderedFolder very well but it'd be very useful in several > of my projects, so I can volunteer a bit of time in helping to get it > in Zope 2.6 as well. I'd rather see that you used your time to put Formulator into 2.6 :-P /Magnus ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] sqlvar and longs
Howdi. On Wed, Mar 06, 2002 at 09:24:04AM +0100, Andre Schubert wrote: > Hi all, > > I have a little question on . > My problem is, that i want to insert values into a table and the type of > the values > are integer8. > I tried with but it doesnt work. > How can i use with longs? > Will this feature be added in further versions? > Is there a product which patches this problem? If not i would write such > a thing myself. hmm. currently sqlvar only has knowledge of int, but this is a difference to long in python. i will add this to the sqlvar and sqltest and mail you the diff, as well put this in the tracker. Greetings Christian -- Christian Theune - [EMAIL PROTECTED] gocept gmbh & co.kg - schalaunische strasse 6 - 06366 koethen/anhalt tel.+49 3496 3099112 - fax.+49 3496 3099118 mob. - 0178 48 33 981 reduce(lambda x,y:x+y,[chr(ord(x)^42) for x in 'zS^BED\nX_FOY\x0b']) ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] sqlvar and longs
Hmmm ... i have been a bit to fast. I wrapped my had around this, and found that long is handled through the int, by simply stripping the "L" of it (pythons string representation of long is 214321L ...) so it get passed as a valid long string. sorry for mixing things up ... Greetings Christian -- Christian Theune - [EMAIL PROTECTED] gocept gmbh & co.kg - schalaunische strasse 6 - 06366 koethen/anhalt tel.+49 3496 3099112 - fax.+49 3496 3099118 mob. - 0178 48 33 981 reduce(lambda x,y:x+y,[chr(ord(x)^42) for x in 'zS^BED\nX_FOY\x0b']) ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] sqlvar and longs
>Hmmm ... i have been a bit to fast. >I wrapped my had around this, and found that long is >handled through the int, by simply stripping the "L" >of it (pythons string representation of long is 214321L ...) >so it get passed as a valid long string. > >sorry for mixing things up ... Right, but works only if the string-representation is not greater than the max-value of an integer. The following does not work for me. update tbl_test set adresse = Greetings -- Andre SchubertEMail: [EMAIL PROTECTED] Tel: 03774 6625-78 km3 teledienst GmbH Fax: 03774 6625-79 ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Zope process working directory
Ive recently noticed that Zope doesnt change its working directory when it starts up. This has been a minor inconvenience for me recently when I wanted to get a core dump from a long-running Zope, but its working directory was set for somewhere that it couldnt write. I know I could fix this in all of my start scripts, but I think it would be much nicer if Zope always changed its working directory to var on startup (except if the debug flag is set I suppose). This would be in keeping with the tradition for Unix daemons and Windows services. Any thoughts? Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] sqlvar and longs
Ok. Let me see ... dideldimm ... ah right ... stupid thing they remove the L and pass it to int() ... i will fix that. On Wed, Mar 06, 2002 at 11:48:26AM +0100, Andre Schubert wrote: > >Hmmm ... i have been a bit to fast. > >I wrapped my had around this, and found that long is > >handled through the int, by simply stripping the "L" > >of it (pythons string representation of long is 214321L ...) > >so it get passed as a valid long string. > > > >sorry for mixing things up ... > > Right, but works only if the string-representation is not greater than > the max-value of an integer. > The following does not work for me. > > > update tbl_test set adresse = > > > Greetings > > -- > Andre SchubertEMail: [EMAIL PROTECTED] > Tel: 03774 6625-78 > km3 teledienst GmbH Fax: 03774 6625-79 -- Christian Theune - [EMAIL PROTECTED] gocept gmbh & co.kg - schalaunische strasse 6 - 06366 koethen/anhalt tel.+49 3496 3099112 - fax.+49 3496 3099118 mob. - 0178 48 33 981 reduce(lambda x,y:x+y,[chr(ord(x)^42) for x in 'zS^BED\nX_FOY\x0b']) ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] two hard questions
Firstly, I'm trying to return a lazy list to a dtml-in, but it seems that the __getitems__ are all called up front This is the class and the print statement shows up in debugging before any debugging output from within the dtml-in: class LazyList: def __init__(self, root, selections): self._root = root self._selections = selections def __getitem__(self, index): s = self._selections[index] print s.getPath() # this is executed for all items before anythingwithin the dtml-in o = self._root.restrictedTraverse(s.getPath()) o.setSelection(s) return o def __len__(self): return len(self._selections) Does this mean that dmtl-in touches all of the objects first for some reason? Or am I missing something? Second hard ?. Is there any way to wrap a Folder subclassed instance within another class so that I can override some methods on an instance by instance basis? I tried doing a .__class__ replacement, but for whatever reason, Zope machinery seems to keep it from taking effect. Any ideas? I've tried about 5 different approaches to no avail :( Sincerely, Tim McLaughlin -- Tim McLaughlin Iteration ZERO, Inc. - www.iterationzero.com 703.481.3983 ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Zope 2.5.1b1 and Python 2.1 with LDAP
Hi, running Zope 2.5.1b1 and Python 2.1.2 with CMF 1.1, LDAPUserFolder 1.1, CMFLDAP 1.2, CoreSessionTracking 0.9, DCWorkflow 0.4.1, CMFOptions 1.11, PIL 1.1.2, MySQL-python-0.9.0, python-ldap-1.10alpha3 (compiled with libldap 1.0.0 and liblber 1.0.0) on Linux Trustix 1.5 distribution, Zope crash and auto-restart randomly while a cmf member o reviewer use cmf services. Zope Version (Zope 2.5.1b1 (source release, python 2.1, linux2), python 2.1.2, linux2) Python Version 2.1.2 (#1, Mar 5 2002, 14:39:29) [GCC 2.95.3 20010315 (release)] System Platform linux2 All packages compiled from sources. Anyone help me? Thanks, Stefano -- Stefano Noferi n o z e S.r.l. Soluzioni Open-Source Via Caduti del Lavoro, 32 56122 Pisa (PI) - Italy Tel: +39 (0)50 533320 Fax: +39 (0)50 526604 Email: [EMAIL PROTECTED] Web: http://www.noze.it -- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope 2.6 project updated
> I don't know OrderedFolder very well but it'd be very useful in several > of my projects, so I can volunteer a bit of time in helping to get it > in Zope 2.6 as well. Hi Martijn! If you do so, please check with me for the newest version of Ordered Folder. I have added a few features to OrderedFolder that I need for Kontentor. Some of them might be candidates for Zope 2.6, others maybe not. Currently, OrderedFolder has: - ordering support - filters (from the FolderFilter Product) - a maximum items support (not fully implemented yet) - properties to define a custom icon and MetaType - integrated "transparency" as an option (from Transparent Folders) - subobject type support Cheers Joachim ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope 2.6 planning - call for contributors!
On Wed, 6 Mar 2002, Joachim Werner wrote: > - All the basic API (like "store", "delete", "edit", ...) must be free of > HTTP specifics, so that I can modifiy content either over a web frontend or > over WebDAV, FTP, ... - and even via a "fat client" application like a > wxPython application. Currently that one is a mess. +5 Jerome ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope 2.6 project updated
Hi! > That is Stephan's product, not mine, and it *may* have some issues in > certain OS distributions (based on my experiences and another user's). So, > it cannot be added itself without some work--further testing work if nothing > else. What kind of problems does OrderedFolder have? There is no OS-specific code AFAIK. It is possible that there are browser-specific issues in the frontend. But those would be easy to fix ... Joachim ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] two hard questions
On Wednesday 06 March 2002 07:27 am, Tim McLaughlin allegedly wrote: > Firstly, I'm trying to return a lazy list to a dtml-in, but it seems > that the __getitems__ are all called up front This is the class and > the print statement shows up in debugging before any debugging output > from within the dtml-in: [snip code] > Does this mean that dmtl-in touches all of the objects first for some > reason? Or am I missing something? My guess is that you have a sort attribute on your dtml-in, which would touch everything in the sequence up front. > Second hard ?. Is there any way to wrap a Folder subclassed > instance within another class so that I can override some methods on an > instance by instance basis? I tried doing a .__class__ replacement, but > for whatever reason, Zope machinery seems to keep it from taking effect. > Any ideas? I've tried about 5 different approaches to no avail :( I'm not sure how (or why) you would wrap a class around an instance. In order to override methods on an instance by instance basis, you would most probably need to create a object proxy wrapper that override __getattr__ so that it can fire off the right methods. If these methods are accessed TTW, then you could just use __bobo_traverse__ for this too. Maybe restate the problem in a different way. /---\ Casey Duncan, Sr. Web Developer National Legal Aid and Defender Association [EMAIL PROTECTED] \---/ ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] two hard questions
Casey Duncan wrote: >On Wednesday 06 March 2002 07:27 am, Tim McLaughlin allegedly wrote: > >>Firstly, I'm trying to return a lazy list to a dtml-in, but it seems >>that the __getitems__ are all called up front This is the class and >>the print statement shows up in debugging before any debugging output >>from within the dtml-in: >> >[snip code] > >>Does this mean that dmtl-in touches all of the objects first for some >>reason? Or am I missing something? >> > >My guess is that you have a sort attribute on your dtml-in, which would touch >everything in the sequence up front. > Your are right on with that (doh!) > >>Second hard ?. Is there any way to wrap a Folder subclassed >>instance within another class so that I can override some methods on an >>instance by instance basis? I tried doing a .__class__ replacement, but >>for whatever reason, Zope machinery seems to keep it from taking effect. >> Any ideas? I've tried about 5 different approaches to no avail :( >> > >I'm not sure how (or why) you would wrap a class around an instance. In order >to override methods on an instance by instance basis, you would most probably >need to create a object proxy wrapper that override __getattr__ so that it >can fire off the right methods. > >If these methods are accessed TTW, then you could just use __bobo_traverse__ >for this too. > Very long and involved explanation, so I'll skip it :) but since you agree with one of the many approaches I took (using a proxy), I'll revisit that one and see if morning will make it better. Thanks for the help, Tim -- Tim McLaughlin Iteration ZERO, Inc. - www.iterationzero.com 703.481.3983 ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] WebDAV quibble -- fix in 2.6?
This maybe more 2.6 (or even 2.5.1 final) fodder: I notice that in a vanilla Zope install, Anonymous users are allowed access through WebDAV. This is bad for two reasons: 1. From a security perspective this discloses way too much information about your site to the outside world. 2. Due to vagarities of WebDAV authentication, it makes it impossible to edit anything, because I guess the WebDAV implementation is too stupid to force a login when you try to lock something as anonymous (instead is returns a 500 server error). To get around this you have to create or copy an object to force a login. This problem disappears if everyone must login to access WebDAV at all. So the question is: Is there a good reason why WebDAV access is granted to anonymous by default? If not I vote we change it. /---\ Casey Duncan, Sr. Web Developer National Legal Aid and Defender Association [EMAIL PROTECTED] \---/ ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope 2.6 project updated
From: "Joachim Werner" <[EMAIL PROTECTED]> > Hi! > > What kind of problems does OrderedFolder have? There is no OS-specific code > AFAIK. It is possible that there are browser-specific issues in the > frontend. But those would be easy to fix ... Hi :-) In certain circumstances, if you install OrderedFolder (0.5.1 is last I checked) without ZBabel, *all* of the buttons on the main OrderedFolder management page will have "None" for their label. I have not had time to narrow down what those "certain circumstances" are, but my iMeme FreeBSD Zope does exhibit the error, and my Windows box does not. When I have a second to breathe I'll try it on Linux with a completely clean Zope install. One other beta tester of VirtualHostFolder reported this error with OrderedFolder; I have not gathered information from him as to his OS etc. It may also occur only when you configure OrderedFolder in a certain way. My beta tester reported that if you installed ZBabel the problem went away. I have not tested this on my FreeBSD Zope. So--who knows. This needs some testing, if nothing else. I'll get around to it when I can, because Stephan said he was unable to replicate the error. Obviously, I didn't exactly give the most complete bug report ever. It may be an interaction problem or anything. It looks like I won't have much of a chance to look at this myself until next week. Thanks Gary ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope 2.6 planning - call for contributors!
Hi: I would like to propose my "Paste Reference"/symlink hack for inclusion into Zope 2.6 C U! -- Mario Valente ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] WebDAV quibble -- fix in 2.6?
Casey Duncan wrote: > This maybe more 2.6 (or even 2.5.1 final) fodder: > > I notice that in a vanilla Zope install, Anonymous users are allowed access > through WebDAV. This is bad for two reasons: > > 1. From a security perspective this discloses way too much information about > your site to the outside world. > > 2. Due to vagarities of WebDAV authentication, it makes it impossible to edit > anything, because I guess the WebDAV implementation is too stupid to force a > login when you try to lock something as anonymous (instead is returns a 500 > server error). To get around this you have to create or copy an object to > force a login. This problem disappears if everyone must login to access > WebDAV at all. > > So the question is: Is there a good reason why WebDAV access is granted to > anonymous by default? If not I vote we change it. Agreed, the way it is now is just wrong, and I was shocked to see it wide-open like that. Barry ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] WebDAV quibble -- fix in 2.6?
Would it be sufficient to disallow the PROPFIND for non-authenticated users ? - aj - Original Message - From: "Barry Pederson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 06, 2002 11:39 Subject: Re: [Zope-dev] WebDAV quibble -- fix in 2.6? > Casey Duncan wrote: > > This maybe more 2.6 (or even 2.5.1 final) fodder: > > > > I notice that in a vanilla Zope install, Anonymous users are allowed access > > through WebDAV. This is bad for two reasons: > > > > 1. From a security perspective this discloses way too much information about > > your site to the outside world. > > > > 2. Due to vagarities of WebDAV authentication, it makes it impossible to edit > > anything, because I guess the WebDAV implementation is too stupid to force a > > login when you try to lock something as anonymous (instead is returns a 500 > > server error). To get around this you have to create or copy an object to > > force a login. This problem disappears if everyone must login to access > > WebDAV at all. > > > > So the question is: Is there a good reason why WebDAV access is granted to > > anonymous by default? If not I vote we change it. > > > Agreed, the way it is now is just wrong, and I was shocked to see it > wide-open like that. > > Barry > > > ___ > Zope-Dev maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope-dev > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope ) > ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: SV: [Zope-dev] Small Alert - Temp Solution - more...
Jean-Paul Smets wrote: > I could find out that certain cookie names work, some others do not > > Works > > __ac_ > __ac_ra > __ac_rak1 > __ac_nex1 > __ac_erp5 > > Does not work > > __ac > __ac_rack1 > __ac_rack12 > > Really strange. What browser are you using? Strange things like this happen for me occasionally after a Mozilla upgrade, but I just delete the cookies for the site and everything goes back to normal. I figure someone at Netscape is just fiddling with the cookie code. :-) OTOH, the only way a loop on the login page can happen is if you're not allowed to access the login page, or perhaps one of its images. Maybe something is caching authentication in a non-thread-safe way. In fact, the last hotfix addressed something like this, didn't it? Shane ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Zope 2.6 and OrderedFolders
I think OrderedFolders is a great product and should be in the core ... but does this also mean that TransparentFolder will get those parts (that Shane mentioned some time ago) optimized that kept it from making it into the core before?? If so ... sounds like a win-win situation. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope 2.6 planning - call for contributors!
On Wednesday 06 March 2002 04:58 am, Joachim Werner wrote: > Hi! > > What I'd expect from Zope 2.6 depends a bit on when Zope 3 will be > available. > > If we are talking about a couple of months, I'd prefer only having bug > fixes in 2.5.x (and no 2.6 at all). If we are talking about more than half > a year, or even a year from now, things look different. > > The problem is that all time that is invested into Zope 2.6 will be lost > for Zope 3 development, but on the other hand I can't imagine how I would > convince a customer to fund Zope 3 development if the results will not be > useable soon. > > So what we actually need is a Zope 2.5.x to 3 migration path and plan that > justifies investments in either Zope 2.6 or Zope 3. For that, we'll have to > answer a few questions, like > > - Are there any components in the Zope 3 development cycle that can be > backported to the 2 series? personally i would be interested in a backport of the component architecture, but i think that focusing development efforts on the zope3 core, is a more useful allocation of resources. zope3 will be ready faster the more people are willing to work on it. i know that i've been guilty of having not worked on it, since i have need to finish developing projects now on zope2 before i get to work on it. that said, i really like some of the proposals on the table for 2.6, but i just don't think that backporting zope3 to zope2 is a good use of people's time. > - Can we build stuff into 2.6 that makes people start thinking the Zope 3 > way? > - ... in this regard the component architecture would make the most sense... but again it would be fairly much a developer resource, and without the components, services, and utilities themselves it would just be lookup and structure to applications. most of whats in zope3 currently is architecture. > I don't want Zope to end up like ArsDigita's ACS. They had a perfectly > working 3 series that had all the features you'd expect, but was butt ugly > in terms of the actual implementation. Then they started from scratch (like > Zope is doing now) and built ACS 4, which was well-designed, but buggy as > hell and had only core functionality. The plugins had not been ported yet. > Then they started from scratch again and ported to Java (which Zope will > not do I guess). > regarding the acs4 there were many plugins (dude, packages is the preferred nomenclature ;) ported to the acs4 architecture. in fact there are more of them then there were for the 3x platform (partly in due to improved modularity). that platform still lives on and thrives today in the form of the openacs. and includes some services and functionality in the core that i hope zope3 will bring to zope land (package management, workflow, calendaring/events, etc...) the move to java and the fall of arsdigita came as direct result of tasting too much of that poisoned apple, known as venture capital. > Currently there are 500 or so freely available Zope add-ons on zope.org, > which will most probably not work on Zope 3, at least not with the "3X" > series. And there are even more non-free Zope products people have built on > the 2 platform. > > I have the feeling that many of the add-ons will not be needed for Zope 3 > because Zope 3 will do better out-of-the-box. But for many others there > must be a migration path. i don't know how much discussion there has been on this, but its something worth discussing in more detail, namely the use of the ZopeLegacy system for zope2 products. when things are a little more settled down for zope3, an excellent piece of documentation would be a product porting guide. > Let's take the database adapters. If Zope 3 does not support the major > databases from the beginning, it might not get the momentum it needs. completely apriori, i think these will be a fairly easy thing to port ;) . > Slightly off topic, I think what Zope (2 AND 3) need really urgently is > another layer on top that delivers what the CMF (IMHO) did promise but not > deliver to the extent I had expected: A solid foundation for Content > Management Systems. just curious, what do you see as the problems with the cmf? cheers kapil ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
RE: [Zope-dev] Zope 2.6 and OrderedFolders
Is this a suggestion that TF go into the core? One other (major) problem with TF is that it breaks session tracking site-wide, or at least the ability to have more than one session id manager per Zope instance in CST; I'm not sure about sessions in Zope 2.5... TF seems to have too much normalcy-hijacking magic to go into the core, if you ask me... Sean -Original Message- From: Eric Roby [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06, 2002 10:56 AM To: [EMAIL PROTECTED] Subject: [Zope-dev] Zope 2.6 and OrderedFolders I think OrderedFolders is a great product and should be in the core ... but does this also mean that TransparentFolder will get those parts (that Shane mentioned some time ago) optimized that kept it from making it into the core before?? If so ... sounds like a win-win situation. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope ) ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope 2.6 and OrderedFolders
On Wednesday 06 March 2002 02:49 pm, [EMAIL PROTECTED] allegedly wrote: > Is this a suggestion that TF go into the core? One other (major) problem > with TF is that it breaks session tracking site-wide, or at least the > ability to have more than one session id manager per Zope instance in CST; > I'm not sure about sessions in Zope 2.5... > > TF seems to have too much normalcy-hijacking magic to go into the core, if > you ask me... > > Sean -1 on TF in the core. Nice hack, but too much magic and there are significant performance implications if I remember correctly. Also Zope 3 will render TF superfluous. /---\ Casey Duncan, Sr. Web Developer National Legal Aid and Defender Association [EMAIL PROTECTED] \---/ ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope 2.6 planning - call for contributors!
At 02:10 PM 3/6/2002 +0100, Jerome Alet wrote: >On Wed, 6 Mar 2002, Joachim Werner wrote: > > > - All the basic API (like "store", "delete", "edit", ...) must be free of > > HTTP specifics, so that I can modifiy content either over a web frontend or > > over WebDAV, FTP, ... - and even via a "fat client" application like a > > wxPython application. Currently that one is a mess. > >+5 Use and work with Zope 3. :-) PS: Please remember not to cross-post. Regards, Stephan -- Stephan Richter CBU - Physics and Chemistry Student Web2k - Web Design/Development & Technical Project Management ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope 2.6 project updated
At 10:40 AM 3/6/2002 -0500, you wrote: >From: "Joachim Werner" <[EMAIL PROTECTED]> > > > > Hi! > > > > What kind of problems does OrderedFolder have? There is no OS-specific >code > > AFAIK. It is possible that there are browser-specific issues in the > > frontend. But those would be easy to fix ... > >Hi :-) > >In certain circumstances, if you install OrderedFolder (0.5.1 is last I >checked) without ZBabel, *all* of the buttons on the main OrderedFolder >management page will have "None" for their label. I have not had time to >narrow down what those "certain circumstances" are, but my iMeme FreeBSD >Zope does exhibit the error, and my Windows box does not. When I have a >second to breathe I'll try it on Linux with a completely clean Zope install. >One other beta tester of VirtualHostFolder reported this error with >OrderedFolder; I have not gathered information from him as to his OS etc. >It may also occur only when you configure OrderedFolder in a certain way. > >My beta tester reported that if you installed ZBabel the problem went away. >I have not tested this on my FreeBSD Zope. > >So--who knows. This needs some testing, if nothing else. I'll get around >to it when I can, because Stephan said he was unable to replicate the error. >Obviously, I didn't exactly give the most complete bug report ever. It may >be an interaction problem or anything. It looks like I won't have much of a >chance to look at this myself until next week. If OF will make it in the core, the ZBabel stuff will be taken out of it in anyway, since no part of Zope has something like that in it. I am also tempted to say that only the ordering module should go in (maybe the limit as well), since other functionality seems too specific. Regards, Stephan -- Stephan Richter CBU - Physics and Chemistry Student Web2k - Web Design/Development & Technical Project Management ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope 2.6 project updated
From: "Stephan Richter" <[EMAIL PROTECTED]> > If OF will make it in the core, the ZBabel stuff will be taken out of it in > anyway, since no part of Zope has something like that in it. I am also > tempted to say that only the ordering module should go in (maybe the limit > as well), since other functionality seems too specific. Hey Stephan. Makes sense. Maybe that would imply either a different name for the core product ("OrderedFolderLite" is a bad example of the idea, for instance) or some other similar accommodation for the fact that your full product will certainly still be needed/wanted in certain cases. I'd feel comfortable extracting the ordering stuff into a new "lite" product, if you wanted, but I have not looked at the limiting functionality. Do you or Joachim have time to do this yourselves, or to be a part of this somehow? Finally, is there any feeling for just adding the ordering functionality to the standard Zope folder/ObjectManager? Perhaps including a button and an API to hide/show the ordering tools? What do folks think? Gary ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope 2.6 and OrderedFolders
Casey Duncan wrote: > > Also Zope 3 will render TF superfluous. As does the skins tool in the CMF. I'm pretty sceptical on the whole OrderedFolder front too, IIRC, it does a lot more than just provide ordered folders! cheers, Chris ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope 2.6 planning - call for contributors!
Joachim Werner writes: > - Storage should be completely separate from the data model. It should be > possible to design a content class and then store it either in ZODB, the > file system, an RDBMS or an LDAP server or whatever. Isn't that already possible (implement your alternative storage that put pickles into your whatever store) > - All the basic API (like "store", "delete", "edit", ...) must be free of > HTTP specifics, so that I can modifiy content either over a web frontend or > over WebDAV, FTP, ... - and even via a "fat client" application like a > wxPython application. Currently that one is a mess. I think, I do this already (with help of a PUT_factory). > ... > - The security API should really work. Currently there seem to be some > really bad flaws with regard to checking for roles (and local roles). (I can > go into details with that if somebody asks me and I find the time). Please do... > - There should be a more rigid development model and tools to implement it. I like freedom... > Currently it is hard for Zope developers to know where the business logic > has to go. I never felt this as a problem... > DTML really invited people to mix stuff, and ZPT seems a bit > complicated to handle in terms of the actual syntax used. It isn't too > readable either. Hm? I was able to explain the ZPT syntax to a newbie in about 1/4 of an hour... The essential parts: 5 tal attributes (there are more, but rarely used) 4 metal attributes 5 kinds of expressions Really not difficult, less difficult than DTML. Dieter ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: SV: [Zope-dev] Small Alert - Temp Solution - more...
Jean-Paul Smets writes: > I could find out that certain cookie names work, some others do not > > Works > > Really strange. Could you use "tcpwatch" (or another TCP logger) to see whether the Zope response contains the cookie header. If not, this would be a Zope problem we could debug. If so, we have to look elsewhere. Dieter ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] recursion depth exceeded
Terry Kerr writes: > I am running a fairly high traffic Zope server where people occassionly ftp > files in and out of the server. > > Approximately once per week, the zope process will go to using 99%CPU and stay > like that untill it is restarted. The error shown in the stupid log file is: > > 2002-03-06T01:22:41 ERROR(200) ZServer uncaptured python exception, closing > channel > (exceptions.RuntimeError:maximum recursion depth exceeded > [/usr/local/lib/python2.1/asyncore.py|poll|104] > [/usr/local/lib/python2.1/asyncore.py|handle_write_event|393] > [/usr/local/zope/Zope-2.4.3-src/ZServer/medusa/asynchat.py|handle_write|147] > [/usr/local/zope/Zope-2.4.3-src/ZServer/medusa/asynchat.py|initiate_send|209] > [/usr/local/zope/Zope-2.4.3-src/ZServer/medusa/asynchat.py|refill_buffer|190] > [/usr/local/zope/Zope-2.4.3-src/ZServer/medusa/ftp_server.py|close|179] > [/usr/local/zope/Zope-2.4.3-src/ZServer/medusa/ftp_server.py|close|903] > [/usr/local/lib/python2.1/asyncore.py|close|355] > [/usr/local/lib/python2.1/asyncore.py|del_channel|241] > . > [/usr/local/lib/python2.1/asyncore.py|__getattr__|361] and so on... > > > Line 361 in asyncore.py is: > > 358# cheap inheritance, used to pass all other attribute > 359# references to the underlying socket object. > 360def __getattr__ (self, attr): > 361return getattr (self.socket, attr) Python's "getattr" is dangerous (being able to easily give you infinite loops): In your example, the problems happens when for some reason, the socket could not be created during the construction. Fortunately, there is a work around: Add a class level definition for "socket" before "__getattr__" socket= None def __getattr__(self,attr): return getattr(self.socket,attr) In your problematic case, this will raise an AttributeError instead of an "recursion depth exceeded". This is much better. Dieter ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Re: [Zope-Coders] Zope 2.6 planning - call for contributors!
- Original Message - From: "Brian Lloyd" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, February 28, 2002 10:00 Subject: [Zope-Coders] Zope 2.6 planning - call for contributors! > http://dev.zope.org/Resources/zope_260_plan.html > > I wholeheartedly agree that 2.6 needs to be significantly a community > effort. While I know that many people are engaged in the Zope 3 effort, > we also need to get some people engaged on defining and producing > 2.6 in the interim. There is not much on the plan right now, so the > possibilities are relatively wide open :) Let's get a discussion > started to define 2.6. I suggest to add support to retrieve the document source for dedicated WebDAV clients (identified by their useragent string) on the standard HTTP port. Some work on this issue has been done in the past and could be added for 2.6. Andreas ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope 2.6 project updated
Stephan Richter wrote: > If OF will make it in the core, the ZBabel stuff will be taken out of > it in anyway, since no part of Zope has something like that in it. I > am also tempted to say that only the ordering module should go in > (maybe the limit as well), since other functionality seems too specific. > > Regards, > Stephan I am afraid I must second this opinion. We recently looked at OrderedFolder, thinking to subclass it to produce our Slideshow product. The idea was to make a lightweight web-based replacement for PowerPoint where you can define the order of the slides and can hide/show them individually. We found that it was actually easier to create our own "OrderedFolder" base class and subclass it rather than use OF because of the extra functionality we did not want. Of course, the extra functionality is probably really useful for some people. My vote would be to include _some_ additional functionality like defined orderings in the Zope3 core, and keep OF as a third party extension product which people can use or not. The Zope3 version of OF would then be simpler, as it would only have the remaining functionality (like "reverse" acquisition, setting a max limit on number of items, etc.) To summarize, I would like to see regular Zope Folders enhanced to optionally have some notion of type ( a la Brian's Zope 2.6 proposal "Object Type Assocation And Death To index_html" ) and basic ordering I am willing to help out. I would love to see this functionality in 2.6 and carry it forward to 3.0... my 2c, --Craeg > ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope 2.6 project updated
>I am afraid I must second this opinion. We recently looked at >OrderedFolder, thinking to subclass it >to produce our Slideshow product. The idea was to make a lightweight >web-based replacement for PowerPoint >where you can define the order of the slides and can hide/show them >individually. Actually, there SmartWizard (of course built with OF), whcih can be used for Slideshows. I used it for all my talks last year. >We found that it was actually easier to create our own "OrderedFolder" >base class and subclass it rather than >use OF because of the extra functionality we did not want. Really? You should just have used OrderedObjectManager as base class. >I am willing to help out. I would love to see this functionality in 2.6 >and carry it forward to 3.0... Ordering and the Limit code is already in the Zope 3 core. The advanced Folder version there is know as LoadedFolder. Regards, Stephan -- Stephan Richter CBU - Physics and Chemistry Student Web2k - Web Design/Development & Technical Project Management ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] ZPT: how to access property sheet of custom ZClass
Hi! I'm implementing a simple db, using the same methods in the JobBoard example. I looked at Kube, but I'd like something a bit more generic. I'm trying to make add/edit forms and display pages as simple as possible. Rather than have custom versions of all of these, each with copies of the same property names, I'd like to pull the property/attribute names from the property sheet of the ZClass in the Product I added. Something like: The above example is probably very wrong for many reasons-- it shows my lack of experience with TAL, python and Zope innards in general -- but I think it conveys what I'm trying to do. I'm not sure if I can use "python:object.attrs()", or even if the objects under Control Panel are accessible to ZPT as the above example produces a guarded_getattr error. Also, is there a more generic or elegant way to refer to the record_default_properties object? Any help would be much appreciated! Regards, Dave ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
SV: SV: [Zope-dev] Small Alert - Temp Solution - more...
> Jean-Paul Smets wrote: > > I could find out that certain cookie names work, some others do not > > > > Works > > > > __ac_ > > __ac_ra > > __ac_rak1 > > __ac_nex1 > > __ac_erp5 > > > > Does not work > > > > __ac > > __ac_rack1 > > __ac_rack12 > > > > Really strange. > > What browser are you using? Strange things like this happen for me > occasionally after a Mozilla upgrade, but I just delete the cookies for > the site and everything goes back to normal. I figure someone at > Netscape is just fiddling with the cookie code. :-) I'm using IE6. It isn't just this one. http://collector.zope.org/Zope/251 and http://collector.zope.org/Zope/260 also does different things when using VHM. /Magnus ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )