Re: [Zope] New HD, Moving ZODB
Nancy Donnelly wrote: - Original Message From: robert rottermann [EMAIL PROTECTED] i believe, nancy is using a windows box. Wash your mouth out with soap! I use FreeBSD and I'm proud of it :) That's as may be, but you still insist on posting in html to a non-html list... ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** ^^^ cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk ___ 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] New HD, Moving ZODB
> I've added a new HD to my server. I have 2 instances of Zope 2.7.8. I > need to move at least one instance of ZODB to the new HD (I can easily > move them both if necessary). Is there a how-to on how to do this, or, > if not, how do I do it? If you take a look at zope.conf, you'll find (near the end) definitions of your ZODB storage There are pathes to files and folders. You may move these files and folders to new HD and just change zope.conf to point to this. In general I think it is better to move whole Zope\ZEO instance, not only ZODB. -- Maciej Wisniowski ___ 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] help performance
Hi! I've an old machine with zope 2.6 with an application based on ZClass. Now, updating 4000 record takes ages (more than an hour...), basically it is a propertysheet update + recatalog of every object of 4000. Can I have significative performance upgrade changing something in the code base? Some ZCatalog "slow" bug in 2.6 I could patch you know of? :) TIA ___ 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] help performance
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On 23. November 2006 17:07:39 +0100 Yuri <[EMAIL PROTECTED]> wrote: > Hi! > > I've an old machine with zope 2.6 with an application based on ZClass. > Now, updating 4000 record takes ages (more than an hour...), basically it > is a propertysheet update + recatalog of every object of 4000. > > Can I have significative performance upgrade changing something in the > code base? Some ZCatalog "slow" bug in 2.6 I could patch you know of? :) > ZopeProfiler will tell you about bottlenecks. - -aj -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Darwin) iD8DBQFFZce2CJIWIbr9KYwRAjMFAKCje2mf4XN4z/loynCUMo+MIW4cSwCfUnUA dH8pNs+4XK2yrzjJ+sfVWlQ= =1Uee -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] help performance
- Original Message - From: "Yuri" <[EMAIL PROTECTED]> To: Sent: Thursday, November 23, 2006 11:07 AM Subject: [Zope] help performance Hi! I've an old machine with zope 2.6 with an application based on ZClass. Now, updating 4000 record takes ages (more than an hour...), basically it is a propertysheet update + recatalog of every object of 4000. Can I have significative performance upgrade changing something in the code base? Some ZCatalog "slow" bug in 2.6 I could patch you know of? :) You could try different transaction subcommit threshold settings (Catalog - Advanced tab) to see if different settings have any beneficial impact. Jonathan ___ 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] CMF-2.1.0-alpha2 released
The CMF developer community is hereby announcing the release of CMF version 2.1.0-alpha2. This second alpha release was cut to help release Plone 3.0-alpha. A lot of bug fixes and features have made it into the CMF since release 2.1.0-alpha, which has become somewhat obsolete as the basis for Plone 3.0-alpha. What is the CMF? The Zope Content Management Framework provides a set of services and content objects useful for building highly dynamic, content-oriented portal sites. The CMF provides the foundation for popular software packages such as Plone. It is intended to be easily customizable, in terms of both the types of content used and the policies and services it provides. Where do I get it? For release files, change logs, installation instructions and more please visit http://www.zope.org/Products/CMF/CMF-2.1.0-alpha2. Roadmap and release information can be found at http://www.zope.org/Products/CMF/docs/roadmap. The CMF mailing list can be reached at the [EMAIL PROTECTED] address, to sign up please visit http://mail.zope.org/mailman/listinfo/zope- cmf. Please file bug reports, feature requests or suggestions in the CMF bug collector at http://www.zope.org/Collectors/CMF . What has changed since the last release? New Features - WorkflowTool: Added the IConfigurableWorkflowTool interface. This change includes the new 'getDefaultChain' and 'listChainOverrides' methods and an improved 'setChainForPortalTypes' method. The import handler now supports the 'remove' attribute for removing overrides. (http://www.zope.org/Collectors/CMF/457) - CMFCore.CachingPolicyManager: Implemented the old OFS.Cache.CacheManager API. Now objects other than CMF content or CMF templates can have their caching headers set by the caching policy manager with the same fine-grained control. (http://www.zope.org/Collectors/CMF/408) - testing: Added test layers for setting up ZCML. - CMFDefault formlib: Added zope.formlib support. This includes some CMF specific base classes and an 'EmailLine' field. - browser views: Added some zope.formlib based forms. - CMFDefault utils: Added 'checkEmailAddress' function. - Added CMFCore.FSRestMethod: ReST equivalent of FSSTXMethod. - CMFCore.FSSTXMethod: Modernized, added tests, made customization possible (now renders via ZPT by default, using 'main_template'). - Portal: Added 'email_charset' property. - CMFDefault utils: Added 'makeEmail' function. - CMFDefault.Image and CMFDefault.File: Overridden index_html methods add Cache Policy Manager-awareness and thus bring these implementations in line with CMFCore.FSFile and CMFCore.FSImage (http://www.zope.org/Collectors/CMF/454) Bug Fixes - CMFCore.CachingPolicyManager: Prevent firing of caching policies for templates (DTML or ZPT) that are rendered in-line (without a separate request) while rendering the requested content item's view. (http://www.zope.org/Collectors/CMF/456) - CMFDefault RegistrationTool: Fixed too restrictive email checking. The new 'checkEmailAddress' function is now used. - Fixed test breakage induced by use of Z3 pagetemplates in Zope 2.10+. - CMFDefault skins: Fixed encoding issues in welcome and reminder emails. 'password_email' and 'registered_email' now encode their return value correctly, using 'email_charset' and the new 'makeEmail' function. Others - The CMF now depends on Zope 2.10.1 ___ 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: TimeError in Zope 2.8.5
Josef Meile wrote at 2006-11-22 22:44 +0100: >> import time >> time.localtime(106900545747.045975).tm_year >>> 5357 >> >> Now, we understand: it's the Python "time" implementation that has >> changed. >> >> With Python 2.3.3 (under Debian Sarge), we get: >> > from time import localtime > localtime(106900545747.045975) >> (1901, 12, 13, 21, 45, 52, 4, 347, 0) > localtime(106900545747.045975).tm_year >> 1901 >> >In my python 2.4.3 (compiled from source) and the one installed with the >OS, which is also 2.4.3, it doesn't work. I get: > >Traceback (most recent call last): > File "", line 1, in ? >ValueError: timestamp out of range for platform time_t Another possibility is that the difference may come from the C runtime library. We now have several behaviours: the correct one, giving an unsane year (probably cause by some form of truncation) and raising an exception. It seems not to be Python nor DateTime -- 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 )