Re: [Zope-dev] Product construction question

2002-09-19 Thread Florent Guillaume
> def addPF(self, id=None, title=None, usercontract=None): > """ > Create a portfolio > """ > > if not id: > id = uuidgen() > p = PF(id, title, usercontract) > self.Destination()._setObject(id, p) > # create an account > p.addAccount(id='account', valuta='E

[Zope-dev] WebDAV Redirects or overriding IDs duing creation

2002-09-19 Thread Johan Carlsson [Torped]
Hi gurus, I'll try this question on this list as well (a part form [EMAIL PROTECTED]). Is it possible to make a redirect during a WebDAV request. For instance I have a PROPFIND one an object that has been renamed and I whan the PROPFIND to access the object with the new ID. I have tried to retu

Re: [Zope-dev] Product construction question

2002-09-19 Thread Dieter Maurer
Joost van Lawick writes: > ... > def addAccount(self, id=None, title=None, valuta=None): > """ > Create an user Account > """ > > if not id: > id = uuidgen() > p = Account(id, title, valuta) > 1: #self.Destination()._setObject(id, p) > 2: self._setObject(i

Re: [Zope-dev] Plone, PageTemplates and Zope2.6

2002-09-19 Thread Dieter Maurer
alan runyan writes: > using chrism-install-branch and caring much less than > I have in my past life - I have run ab against Plone > in Zope2.6. It appears that Zope2.6 is significantly > slower than Zope2.5.1. I would use the profiler ("Control_Panel -> Debug information -> Profiling") to f

Re: [Zope-dev] What builds zlib.so?

2002-09-19 Thread Dieter Maurer
Chris Withers writes: > I'm trying to compile and use a checkout of the Zope-2_6-branch. > > I'm compiling it using: > > usr/local/bin/python2.1 setup.py build_ext -i What happens when you use usr/local/bin/python2.1 setup.py build Dieter _

[Zope-dev] Product construction question

2002-09-19 Thread Joost van Lawick
- Forwarded message from [EMAIL PROTECTED] - Date: Thu, 19 Sep 2002 10:56:07 -0400 Subject: Mailman results for Zope-Dev From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Hi, I have some problems with creating folders and objects. PF is a Folderish class. This is the add function (or manage_

Re: [Zope-dev] Testing changes break tests when Products are inINSTANCE_HOME

2002-09-19 Thread Stefan H. Holek
I have modified testrunner to support INSTANCE_HOME installations: http://www.zope.org/Members/shh/TestRunner To test an INSTANCE_HOME product specify the -i flag. This is in the collector as a "feature+solution". http://collector.zope.org/Zope/489. Cheers, Stefan --On Donnerstag, 19. Septe

[Zope-dev] Testing changes break tests when Products are in INSTANCE_HOME

2002-09-19 Thread Chris Withers
Hi, The changes made to bring the Testing package into play some while back appear to have broken usage of testrunner.py to run tests if the products you're trying to test are in an INSTANCE_HOME's Products directory. If, for example, I do: set ZOPE_HOME=D:\Zope\2.5.1\ set SOFTWARE_HOME=D:\Zo

[Zope-dev] What builds zlib.so?

2002-09-19 Thread Chris Withers
Hi, I'm trying to compile and use a checkout of the Zope-2_6-branch. I'm compiling it using: usr/local/bin/python2.1 setup.py build_ext -i ...but when I start Zope I get: 2002-09-19T11:15:31 PANIC(300) z2 Startup exception Traceback (innermost last): Module __main__, line 214, in main M

Re: [Zope-dev] Plone, PageTemplates and Zope2.6

2002-09-19 Thread Florent Guillaume
Are you using Zope's PageTemplates or AltPT/AltTAL? Also, was this before or after my i18n merge? I still have Fred's recent improvements to TAL to merge. Florent alan runyan <[EMAIL PROTECTED]> wrote: > using chrism-install-branch and caring much less than > I have in my past life - I have run

Re: [Zope-dev] Plone, PageTemplates and Zope2.6

2002-09-19 Thread Chris Withers
alan runyan wrote: > 300Mhz Celeron w/ 256MB RAM > > Zope2.5.1 Python 2.1.3 > ab -n 10 http://mysite/plone > 1.30 Requests per second > > Zope2.6 Python 2.1.3 > ab -n 10 http://mysite/plone > 0.87 Requests per second When you say '2.6', what do you mean? 2.6.0a1, a Zope-2_6-branch checkout (dat

Re: [Zope-dev] Re: [Zope-Coders] Proposal: put i18n into 2.6

2002-09-19 Thread Chris Withers
Lennart Regebro wrote: > > True. But in true XP fashion, each release could simply contain the features > that are finished. And if this i18n is finished, then it can be included. I > think that would also prevent some drag, because now we decided on which > features should be included, and sever