Re: [Zope3-dev] Performance Testing

2005-10-13 Thread Stephan Richter
On Wednesday 12 October 2005 17:53, Nicola Larosa wrote: I suggest to extend the approach by adding monitoring of the resident memory occupied by the process, alongside the execution time. Zope 3 is a rather huge beast, doing all the things it does. Can this be *reliably* done on all

Re: [Zope3-dev] Performance Testing

2005-10-13 Thread Stephan Richter
On Wednesday 12 October 2005 16:20, Benji York wrote: 2) testbrowser should keep up with a (machine-independent) metric of how long the previous request took so performance assertions can be made inside tests.  E.g.       browser.open('http://localhost/foo')       browser.last_request_time

Re: [Zope3-dev] zope.app.ftp, security, adapters

2005-10-13 Thread Stephan Richter
On Wednesday 12 October 2005 06:07, Michael Kerrin wrote: Hi All, I am having a problem with permissions and security in zope.app.ftp The writable method in FTPView basically uses adapter lookup on IWriteFile and tests this adapter if it has a 'write' attribute in order to test if a

[Zope3-dev] Re: Performance Testing

2005-10-13 Thread Tarek Ziadé
Benji York wrote: Tarek has started some very interesting work on adding performance testing to the Zope 3 testing infrastructure and it so happens that Jim and I were discussing something very similar last week, so I'd like to suggest some functionality we might want to have (which I should

Re: [Zope3-dev] i18n translate tal:contents not translated

2005-10-13 Thread Stephan Richter
On Wednesday 12 October 2005 03:11, Bernd Dorn wrote: if i do this in a page template:    div tal:attributes=title python:u'Title'          i18n:attributes=title          i18n:translate= tal:content=python:u'Title'   i18n:domain=zope/      div i18n:translate= i18n:domain=zopeTitle/div

Re: [Zope3-dev] Changes to zope3 windows binary installer

2005-10-13 Thread Stephan Richter
On Wednesday 12 October 2005 04:56, Michael Haubenwallner wrote: I have put up a page of questions regarding the installation process at http://zopewiki.org/Zope3OnWindowsInstaller to help writing down some answers and to create a Howto for windows users. It would be much better to put such

Re: [Zope3-dev] Performance Testing

2005-10-13 Thread Tarek Ziadé
Stephan Richter wrote: On Wednesday 12 October 2005 17:53, Nicola Larosa wrote: I suggest to extend the approach by adding monitoring of the resident memory occupied by the process, alongside the execution time. Zope 3 is a rather huge beast, doing all the things it does. Can this be

Re: [Zope3-dev] Performance Testing

2005-10-13 Thread Stephan Richter
On Thursday 13 October 2005 07:02, Tarek Ziadé wrote: sub part: For zodb objects, i was wondering if we could somehow size what's beeing pickled, since it's just a buffer. we could therefore measure the size of what's beeing serialized in a test. that's a measure, but i wonder if it can tell

Re: [Zope3-dev] Debugging Zope

2005-10-13 Thread Chris Withers
Jim Fulton wrote: Is this integrated in the python-mode? I think so, at least in recent versions. Cool, where do you get it from? How do you get it to work? cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

Re: [Zope3-dev] Performance Testing

2005-10-13 Thread Chris Withers
Tarek Ziadé wrote: I think the only reliable way is to write a new python debugger. What does pdb have to do with it? cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope3-dev

Re: [Zope3-dev] Performance Testing

2005-10-13 Thread Tarek Ziadé
Chris Withers wrote: Tarek Ziadé wrote: I think the only reliable way is to write a new python debugger. What does pdb have to do with it? Sorry i mistyped, i meant a python debug build, to get all objects instances Tarek ___ Zope3-dev mailing

Re: [Zope3-dev] Performance Testing

2005-10-13 Thread Benji York
Stephan Richter wrote: On Wednesday 12 October 2005 16:20, Benji York wrote: browser.open('http://localhost/foo') browser.last_request_time 0.5 I wonder how useful performance tests are to testbrowser, because over time we might add new features that naturally slow it down. On the

[Zope3-dev] Keening for the poultry

2005-10-13 Thread Tres Seaver
with Thunderbird - http://enigmail.mozdev.org iD8DBQFDToHc+gerLs4ltQ4RAujVAJ4yPAGv5Kr1pTljyqR/PF7BG781vwCeIkkI ikfbQBKiRIsQ5nfrA0EvqfM= =0/0H -END PGP SIGNATURE- scifi-dead_chickens-20051013.tar.gz Description: application/gzip ___ Zope3-dev mailing list

[Zope3-dev] Re: Performance Testing

2005-10-13 Thread Tarek Ziadé
Benji York wrote: Tarek Ziadé wrote: http://www.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/PerformanceRegressionTool The unit test decorator looks good; I might prefer a different name than timedtest, but because I don't write old-style unit tests I'm just -0. The fact that

[Zope3-dev] Re: Keening for the poultry

2005-10-13 Thread jürgen Kartnaller
Hi Tres. I just want to show you what I have so far. See the attached test file. I took me really a lot of time to figure out all these things. Currently I'm at a point where the view is missing the activeTool which is set up in __init__. How should a zope rookie be able to write such a test if

[Zope3-dev] Zope 3.1

2005-10-13 Thread Bolotov Pavel
Hi zope3-dev, I really frustrated about Zope 3.1 Is Zope 3.1 is more than ready for production use ? Did you try to install Zope-3.1.0.win32-py2.4.exe on Windows XP ? the zope run script is for Linux and even if you manage to run Zope 3.1, it doesn't work in README.txt Creating a Zope instance

[Zope3-dev] Re: Debugging Zope

2005-10-13 Thread Simon Michael
I get confused about this, but afaik it's in python-mode. Just run pdb in an emacs shell buffer. More notes at http://zopewiki.org/DebuggingWithEmacs . ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub:

Re: [Zope3-dev] Changes to zope3 windows binary installer

2005-10-13 Thread Tim Peters
[Michael Haubenwallner] I have put up a page of questions regarding the installation process at http://zopewiki.org/Zope3OnWindowsInstaller to help writing down some answers and to create a Howto for windows users. [Stephan Richter] It would be much better to put such documentation on our

Re: [Zope3-dev] Keening for the poultry

2005-10-13 Thread Gary Poster
Hey Tres. I apologize for not looking at your efforts so far, but just in case I can help quickly, have you seen this, and is it pertinent? http://mail.zope.org/pipermail/zope3-users/2005-September/001078.html Gary ___ Zope3-dev mailing list

RE: [Zope3-dev] Changes to zope3 windows binary installer

2005-10-13 Thread Roger Ineichen
Tim, don't use InnoSetup, take a look at www.bitrock.com first. The BitRock InstallBuilder is a amazing pice of software. I use it for build custom installers including Zope3, Tiks and some custom libraries for customer projects. BitRock is a multiplatform installation tool for Linux,

Re: [Zope3-dev] Changes to zope3 windows binary installer

2005-10-13 Thread Tim Peters
[Roger Ineichen] Tim, don't use InnoSetup, I won't -- but then I'm not doing anything here ;-) take a look at www.bitrock.com first. How does this relate to Michael Haubenwallner's list of specific Zope3-on-Windows issues? Here's his list:

[Zope3-dev] .xpt extension for explicit xml processing

2005-10-13 Thread Julien Anguenot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, We are working with Fred on the tal processing mixed modes issue I raised in a previous thread on this list. The development branch for this has been created over there : http://svn.zope.org/Zope3/branches/tal_mixed_mode/ We thought about

[Zope3-dev] Re: .xpt extension for explicit xml processing

2005-10-13 Thread Michel Pelletier
Julien Anguenot wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, We are working with Fred on the tal processing mixed modes issue I raised in a previous thread on this list. The development branch for this has been created over there :