[Zope] [ANN] Zope 2.8.0 released
Hi all, on behalf of Zope Corporation and the Zope community I am pleased to announce the release of Zope 2.8.0. You can download Zope 2.8.0 from http://www.zope.org/Products/Zope/2.8.0/ Some new features of Zope 2.8: - ZODB 3.4 with MVCC (multi version concurrency control) support. MVCC solves nearly every problem with ZODB read-conflict errors which is very important for high-traffic Zope sites. - Extension Classes were rewritten as Python new-style classes making all features of Python new-style classes available in Zope objects. This includes support for cyclic garbage collection. - Integration of Zope 3 technologies through Five (see http://codespeak.net/z3/five/) For more information on what is new in this release, see the CHANGES.txt files for the release: http://www.zope.org/Products/Zope/2.8.0/CHANGES.txt See also: http://www.zope.org/Wikis/DevSite/Projects/Zope2.8/OverView **WARNING:** Due to the major changes in Extension Classes and ZODB there is a risk that some things are broken or do not work as they should. Backup your Data.fs **before** trying 2.8.0b2. Please bring all the bugs you have found to the Zope bugtracker: http://collector.zope.org/Zope":http://collector.zope.org/Zope For more information on the available Zope releases, guidance for selecting the right distribution and installation instructions, please see: http://www.plope.com/Books/2_7Edition/InstallingZope.stx Thanks to everyone having contributed to this release (hopefully I did not miss any names): Jim Fulton, Christian Theune, Tim Peters, Fred Drake Jr., Marc Hammond, Sidnei da Silva, Tres Seaver, Stefan Holek, Chris McDonough, -- Andreas Jung(andreas at zopyx dot com) pgpizFJrEnQ3H.pgp Description: PGP signature ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Re: aggreagating and merging logs under Zope 2.7.X
Well, I am not really ready to address the "multiple concurrent writers problem across NFS" and all the issues it entails. I'd somehow dismissed the SysLog solution, but I can certainly configure to use it. Thanks for the pointer. On Fri, 10 Jun 2005, Tres Seaver wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Dennis Allison wrote: > > Is there any way to configure multi-headed Zopes running on different > > machines but sharing the same ZEO to log to the same file (in time order > > would also be nice...)? > > zope.conf supports logging to syslog, which would be the sanest way to > do that, assuming that you can run the syslog daemon; otherwise, you > have to work out the "multiple concurrent writers in the same file > across NFS" problem, which would probably involve more research than I > imagine you are contemplating. > > > Tres. > - -- > === > Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] > Palladion Software "Excellence by Design"http://palladion.com > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.2.5 (GNU/Linux) > Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org > > iD8DBQFCqgJL+gerLs4ltQ4RArqRAJ9TkXM0EG2lcI3uKOIVFGps7ULUGgCeMVfA > N4hy/9kViG9e5BDzBbj6hbg= > =5dA5 > -END PGP SIGNATURE- > > ___ > Zope maillist - Zope@zope.org > http://mail.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://mail.zope.org/mailman/listinfo/zope-announce > http://mail.zope.org/mailman/listinfo/zope-dev ) > -- Dennis Allison * Computer Systems Laboratory * Gates 227 * Stanford University * Stanford CA 94305 * (650) 723-9213 * (650) 723-0033 fax * [EMAIL PROTECTED] * [EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: aggreagating and merging logs under Zope 2.7.X
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dennis Allison wrote: > Is there any way to configure multi-headed Zopes running on different > machines but sharing the same ZEO to log to the same file (in time order > would also be nice...)? zope.conf supports logging to syslog, which would be the sanest way to do that, assuming that you can run the syslog daemon; otherwise, you have to work out the "multiple concurrent writers in the same file across NFS" problem, which would probably involve more research than I imagine you are contemplating. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCqgJL+gerLs4ltQ4RArqRAJ9TkXM0EG2lcI3uKOIVFGps7ULUGgCeMVfA N4hy/9kViG9e5BDzBbj6hbg= =5dA5 -END PGP SIGNATURE- ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Py-Toc and zope products
Ed Colmar wrote at 2005-6-9 11:36 -0700: > ... >on init, I get this error: > >*UnpickleableError* > ... >* Module ZODB.Connection, line 387, in commit > __traceback_info__: > (('Products.SystemofControlSite.SystemofControlSite', > 'SystemofControlSite'), '\x00\x00\x00\x00\x00\x00\xdd1', '') > >UnpickleableError: Cannot pickle objects (Also, an error >occurred while attempting to render the standard error message.) You get this type of Error when you try to store something in the ZODB which is not picklable (Python's term for "serializable"). Of course, you can store only serializable things in the ZODB. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Product architecture question (long)
Nikko Wolf wrote at 2005-6-9 11:34 -0600: > ... >>I would model a "file" as a folder like structure containing >>the various versions and give it the "right" behaviour. >> >Currently, I've implemented scripts to do part of this -- although I >would not say I've "modeled" anything as much as simply "implemented" >scripts & ZPT to allow access in the manner needed. "Modelling" describes the intellectual work before the implementation. It indentifies the major use cases, looks for the primary concepts and designs the outline of the necessary classes and their interactions. It is an essential preparation for the actual implementation -- for any non-trivial task... >The issue is that there is no separation of workflow and content >view/actions, and there should be, since the workflow may change and I'd >like to use the workflow interface to handle those changes (if possible). It is the task of the modelling phase to answer such questions. > ... >However my question is this -- is it necessary for me to shutdown zope >to snapshot the directory? No, it is not necessary. You should read: http://zope.org/Wikis/ZODB/FileStorageBackup >Knowing that zope is event-driven (and no sleeper thread): > -- is there any consistency issues of backing up (Data.fs) > without stopping? > -- is there another feature of "zopectl" that would tell > it to "sync" the DB to the file system? "help" gives: > EOF fg kill quitrun start test > adduser foreground logreopen reload shell status wait > debug help logtail restart show stop No, because it is not necessary. > ... >I've looked but found no Zope SSL capabilities, so does this requires >placing Zope behind Apache, right? It is the easiest and most standard solution. But there is also an SSL enabled ZServer (as a third party product). I do not know its name -- search for it if you mistrust Apache... -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: Voodoo with ModuleSecurityInfo, was Re: [Zope] importing encode_base64
Paul Winkler wrote at 2005-6-9 15:42 -0400: > ... >> >ModuleSecurityInfo('Products.FooProduct').declarePublic( >> >'blah', 'foo') >> >> This allows something like: >> >> from Products.FooProduct import foo >> >> But, in fact, you use >> >> from Products.FooProduct import Utils >> ... Utils.foo ... >> >> Strange, that it worked at all... > >Yeah, I think I just happened to hit on some undocumented >behavior that *mostly* works. Maybe, you should file a bug report: Undocumented security related features might be viewed as security holes... Especially, if something unexpectedly becomes possible... However, I think, this one in not overly critical. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] undo many things
Rakotomandimby (R12y) Mihamina wrote at 2005-6-9 22:40 +0200: >If I want to undo a very early action, I have to also undo all the actions >done after the one I want to undo. > >The problem is that the action to undo is 4 pages earlier, so that I want >to one time check all the actions of the 4 last pages. > >How to manage it? Everything, you can do via the ZMI, you can do in a script (or an interactive Python interpreter). This is more appropriate for all kinds of mass operations. To find out what you can put into your script, you have 2 options: * you look at the Python source The "undo" methods are for example implememented in "App.Undo.UndoSupport". * you look at the HTML source of the ZMI pages and see there how the ZMI performs the task. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] aggreagating and merging logs under Zope 2.7.X
Is there any way to configure multi-headed Zopes running on different machines but sharing the same ZEO to log to the same file (in time order would also be nice...)? -- Dennis Allison * Computer Systems Laboratory * Gates 227 * Stanford University * Stanford CA 94305 * (650) 723-9213 * (650) 723-0033 fax * [EMAIL PROTECTED] * [EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] backing up a running zodb fileStorage
[gabor] > i am trying to backup a zodb filestorage of a running zope. > i'm on linux. > > i've read that you simply make a copy of the Data.fs file.. > > but what about the modifications/transactions that are happening when i > make the copy. > > will not the database be in a corrupt state then? It can be, although the odds are in your favor. The intended way to make backups is explained here: http://zope.org/Wikis/ZODB/FileStorageBackup ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: backing up a running zodb fileStorage
On Fri, 10 Jun 2005 09:30:35 +0200, gabor wrote: > hi, > > i am trying to backup a zodb filestorage of a running zope. > i'm on linux. > > > i've read that you simply make a copy of the Data.fs file.. > > but what about the modifications/transactions that are happening when i > make the copy. > > will not the database be in a corrupt state then? I backup my Data.fs with repozo.py. you can find some info about it in the plone book: http://docs.neuroinf.de/PloneBook/ch14.rst Bye -- Haim ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] backing up a running zodb fileStorage
hi, i am trying to backup a zodb filestorage of a running zope. i'm on linux. i've read that you simply make a copy of the Data.fs file.. but what about the modifications/transactions that are happening when i make the copy. will not the database be in a corrupt state then? gabor ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )