[Zope-Annce] Vancouver Python Workshop - Talk submission deadline

2006-06-15 Thread Brian Quinlan
What's New? === This is your last change to submit a talk for the Vancouver Python Workshop. Talks will be accepted until Friday June 16th. This is a great opportunity for you to share your project or interests with the Python community, so please take advantage of it! To submit a

[Zope-dev] Re: Time-based releases a good idea?

2006-06-15 Thread Philipp von Weitershausen
Dieter Maurer wrote: Chris Withers wrote at 2006-6-14 07:32 +0100: ... Would be interested to know what other people think... I like time based releases but I hate deprecations for cosmetic annoyances (term stolen from Andreas). I have the feeling that most deprecations so far have been

[Zope-dev] Re: Time-based releases a good idea?

2006-06-15 Thread Philipp von Weitershausen
Tres Seaver wrote: Lennart Regebro wrote: On 6/14/06, Chris McDonough [EMAIL PROTECTED] wrote: The time-based release cycle just amplifies this across many branches and point releases, so nobody really knows which products work with what branch/release and under what configuration some

Re: [Zope-dev] Time-based releases a good idea?

2006-06-15 Thread Chris Withers
Andreas Jung wrote: For me, the fact that Zope 2.9.3 still emits deprecation warnings on a fresh install (zLOG...) is a pretty bad sign. Deprecation warning is only annoying but not a bad sign. Deprecations are not a functional problem. That sends a pretty bad message. It's not really

Re: [Zope-dev] Time-based releases a good idea?

2006-06-15 Thread Chris Withers
Andreas Jung wrote: Right. As a rule we must fix any code in the Zope core that would possibly spit out a deprecation warning caused by a deprecation warning. At least for zLOG in Zope 2.9 we (possibly only me) were not totally consequent. Yes, I noticed your name in svn praise ;-) Chris

Re: [Zope-dev] Time-based releases a good idea?

2006-06-15 Thread Chris Withers
Jens Vagelpohl wrote: Yes, the 6 month cycle is very short. All of a sudden we have a situation where a whole slew of releases/branches is out there (2.7, 2.8, 2.9, 2.10, trunk) Indeed, this seems to be purely an artifact of time-based releases. I'm sure I'm not the only one who routinely

Re: [Zope-dev] Time-based releases a good idea?

2006-06-15 Thread Chris Withers
Chris McDonough wrote: checkins list. Yes, I know. I know. I'm bad. But all of you have been there before, I'm pretty sure, so I hope you can sympathize. ...and how! And why the should the core emit a deprecation warning? Amen. the goal here? Removing zLOG is (at least by any sane

[Zope-dev] Time-based releases vs Bugfixing

2006-06-15 Thread Chris Withers
Wichert Akkerman wrote: Previously Max M wrote: Andreas Jung wrote: At some point you have to make a cut to get rid of old crap. Fixing the zLOG issue is a straight forward approach with very little risks for the programmer and it won't take too much time..I don't see a major problem with

[Zope-dev] You can always document...

2006-06-15 Thread Chris Withers
yuppie wrote: I believe the Hippocratic Oath should be followed in subjective cases like this. First, do no harm. Cruft does harm. It discourages people who want to understand and improve Zope. And it encourages people to stick to bad coding habits. As far as methods goes, I call bullshit

[Zope-dev] Time Based Releases vs Open Source

2006-06-15 Thread Chris Withers
Max M wrote: Andreas Jung wrote: At some point you have to make a cut to get rid of old crap. Fixing the zLOG issue is a straight forward approach with very little risks for the programmer and it won't take too much time..I don't see a major problem with that. Except that it hits a sore

Re: [Zope-dev] methods et al

2006-06-15 Thread Chris Withers
yuppie wrote: If adding deprecation warnings for 'methods' was a mistake it was not a simple mistake. I still believe it should be removed. I think you're in the minority here. I suspect you could remove the legacy thing without much problem, but it feels like methods has a genuine need for

Re: [Zope-dev] Re: Time-based releases a good idea?

2006-06-15 Thread Chris Withers
Lennart Regebro wrote: So this is not a problem with deprecation period, time based releases or anything else, then. No, but the slew of deprecation warnings, proliferation of branches that need to be supported (regardless of whether they're officially production or not) and sheer amount of

[Zope-dev] Zope 2 bugday, today (the 15th)!

2006-06-15 Thread Lennart Regebro
Join #zope-dev on freenode.net and help make 2.10 the best Zope 2 ever! :) -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/ ___ Zope-Dev maillist - Zope-Dev@zope.org

Re: [Zope-dev] Zope 2 bugday, today (the 15th)!

2006-06-15 Thread Andreas Jung
--On 15. Juni 2006 11:29:11 +0200 Lennart Regebro [EMAIL PROTECTED] wrote: Join #zope-dev on freenode.net and help make 2.10 the best Zope 2 ever! :) Unfortunately the email collector notification does not seem to work...anyone to slap zope.org? Andreas pgpp7hSAyzVwD.pgp Description: PGP

Re: [Zope-dev] Time-based releases vs Bugfixing

2006-06-15 Thread Lennart Regebro
On 6/15/06, Chris Withers [EMAIL PROTECTED] wrote: 2. Yeah, we all know that bugs should get fixed on all stable branches, but that becomes less and less likely the more stable branches there are. Time based releases seem to be making this problem much much worse. Only because we have more

[Zope-dev] buildbot failure in Zope branches 2.9 2.4 Linux zc-buildbot

2006-06-15 Thread buildbot
The Buildbot has detected a failed build of Zope branches 2.9 2.4 Linux zc-buildbot. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 6131 Blamelist: alecm,andreasjung,efge,faassen,jim,jinty,mgedmin,srichter,yuppie BUILD FAILED: failed test sincerely, -The

[Zope-dev] buildbot failure in Zope branches 2.10 2.4 Linux zc-buildbot

2006-06-15 Thread buildbot
The Buildbot has detected a failed build of Zope branches 2.10 2.4 Linux zc-buildbot. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 6130 Blamelist: alecm,andreasjung,efge,faassen,jim,jinty,mgedmin,srichter,yuppie BUILD FAILED: failed test sincerely, -The

[Zope-dev] buildbot failure in Zope branches 2.10 2.4 Windows 2000 zc-bbwin2

2006-06-15 Thread buildbot
The Buildbot has detected a failed build of Zope branches 2.10 2.4 Windows 2000 zc-bbwin2. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 6130 Blamelist: alecm,andreasjung,efge,faassen,jim,jinty,mgedmin,srichter,yuppie BUILD FAILED: failed failed slave lost

[Zope-dev] Re: You can always document...

2006-06-15 Thread yuppie
Hi Chris! Chris Withers wrote: yuppie wrote: I believe the Hippocratic Oath should be followed in subjective cases like this. First, do no harm. Cruft does harm. It discourages people who want to understand and improve Zope. And it encourages people to stick to bad coding habits. As far

[Zope-dev] Re: Time-based releases vs Bugfixing

2006-06-15 Thread Max M
Lennart Regebro wrote: Zope2 development stood pretty much still for several years. We are no picking up the slack, and yes, that means loads of rapid changes. The alternative is stagnation and ultimately death. Well, I must say that I enjoyed that. Being able to add new functionality in

Re: [Zope-dev] Re: Time-based releases a good idea?

2006-06-15 Thread Martijn Faassen
Chris Withers wrote: Lennart Regebro wrote: So this is not a problem with deprecation period, time based releases or anything else, then. No, but the slew of deprecation warnings, proliferation of branches that need to be supported (regardless of whether they're officially production or

Re: [Zope-dev] Time-based releases a good idea?

2006-06-15 Thread Martijn Faassen
Chris Withers wrote: [snip] Personally, I find non-time-based releases a much nicer prospect: you only need to move to the next major version when it's ready and because it contains big new features you really want. Who is going to develop these big features? What's the motivation? I'm not

[Zope-dev] Re: Time-based releases a good idea?

2006-06-15 Thread Chris McDonough
On Jun 15, 2006, at 3:13 AM, Philipp von Weitershausen wrote: We've had two ZPT implementations, now we have to maintain only one. We had our own logging framework, now we can simply use Python's, etc. These changes may seem cosmetic to the outside developer (he has to use different APIs),

[Zope-dev] Re: Time-based releases a good idea?

2006-06-15 Thread Philipp von Weitershausen
Chris McDonough wrote: On Jun 15, 2006, at 3:13 AM, Philipp von Weitershausen wrote: We've had two ZPT implementations, now we have to maintain only one. We had our own logging framework, now we can simply use Python's, etc. These changes may seem cosmetic to the outside developer (he has to

[Zope-dev] Re: Time-based releases a good idea?

2006-06-15 Thread Florent Guillaume
On 15 Jun 2006, at 16:09, Philipp von Weitershausen wrote: Chris McDonough wrote: People will get sick of seeing the warnings, and they'll eventually change it, but there's just no reason to *force* them to change it on our time schedule. And if they don't, who cares? People who don't want

[Zope-dev] Re: Time-based releases a good idea?

2006-06-15 Thread Chris McDonough
On Jun 14, 2006, at 5:30 PM, yuppie wrote: Hi Chris! Chris McDonough wrote: On Jun 14, 2006, at 1:00 PM, yuppie wrote: It's not that simple. registerClass has an optional 'legacy' argument that does something quite similar. It just monkey patches ObjectManager instead of Folder. So at

[Zope-dev] Re: Time-based releases a good idea?

2006-06-15 Thread Chris McDonough
On Jun 15, 2006, at 10:09 AM, Philipp von Weitershausen wrote: Well, except that the actual, formal deprecation of zLOG finally made everyone aware of the logging module and a few things like logging levels that no one had thought about till then. So I wouldn't say the benefit was exactly

[Zope-dev] Re: OFS.Application deprecations for Zope 2.10

2006-06-15 Thread yuppie
Hi Chris! Chris McDonough wrote: For what it's worth, maybe there's some middle ground here. Just because something is deprecated doesn't need it needs to have a hard date to be removed. Why don't we just have the first use of zLOG in each module generate a deprecation warning and just

[Zope-dev] buildbot failure in Zope trunk 2.4 Linux zc-buildbot

2006-06-15 Thread buildbot
The Buildbot has detected a failed build of Zope trunk 2.4 Linux zc-buildbot. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 6153 Blamelist: dominikhuber,jim,jinty,regebro,shh,tseaver BUILD FAILED: failed test sincerely, -The Buildbot

[Zope-dev] buildbot failure in Zope branches 2.10 2.4 Linux zc-buildbot

2006-06-15 Thread buildbot
The Buildbot has detected a failed build of Zope branches 2.10 2.4 Linux zc-buildbot. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 6152 Blamelist: dominikhuber,jim,jinty,regebro,shh,tseaver BUILD FAILED: failed test sincerely, -The Buildbot

[Zope-dev] buildbot failure in Zope trunk 2.4 Linux zc-buildbot

2006-06-15 Thread buildbot
The Buildbot has detected a failed build of Zope trunk 2.4 Linux zc-buildbot. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 6158 Blamelist: alecm,shh BUILD FAILED: failed test sincerely, -The Buildbot ___

Re: [Zope-dev] Re: Time-based releases a good idea?

2006-06-15 Thread Dieter Maurer
Chris McDonough wrote at 2006-6-14 14:50 -0400: ... PsycoPG-DA does, MySQLDA does, one of my products named ZopeMailArchive does. CCSQLMethods does (because until very recently ZSQLMethods did, hopefully changed now). -- Dieter ___ Zope-Dev

[Zope-dev] buildbot failure in Zope branches 2.10 2.4 Linux zc-buildbot

2006-06-15 Thread buildbot
The Buildbot has detected a failed build of Zope branches 2.10 2.4 Linux zc-buildbot. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 6168 Blamelist: alecm,shh,tseaver BUILD FAILED: failed test sincerely, -The Buildbot

[Zope-dev] Nasty error message with obscure bug

2006-06-15 Thread Chris Withers
Hi All, Got this weird error message: Module TAL.TALInterpreter, line 701, in translate Module Products.PageTemplates.TALES, line 261, in translate Module Products.Five.i18n, line 51, in translate Module Products.PageTemplates.GlobalTranslationService, line 33, in translate TypeError:

Re: [Zope] ERROR Zope Could not import Products.ZMySQLDA

2006-06-15 Thread Chris Withers
Jonathan wrote: /usr/local/www/zopeserver/bin/runzope -X debug-mode=on 2006-06-14 16:14:53 INFO ZServer HTTP server started at Wed Jun 14 16:14:53 2006 Hostname: 0.0.0.0 Port: 8080 The hostname looked a little strange (localhost is usually 127.0.0.1) Not in later versions of

Re: [Zope] Re: filter messages at startup

2006-06-15 Thread Chris Withers
Chris McDonough wrote: It's just not possible to upgrade components of every configuration. Sometimes you just need to live with some specific configuration for a while. It's not really a bad thing to have a known-working configuration, even if it's a little old. +sys.maxint If we turned

Re: [Zope] ERROR Zope Could not import Products.ZMySQLDA [SOLVED]

2006-06-15 Thread Chris Withers
Jeremiah Foster wrote: /usr/local/lib/python2.4/site-packages/MySQLdb/sets.py* And you still think you're using python2.3? Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope maillist

Re: [Zope] debug with ipython

2006-06-15 Thread Jean Jordaan
Hi thomas is it possible to use zopectl debug with ipython ? http://zopewiki.org/DebuggingWithIPythonAndOtherTips -- jean ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! **

Re: [Zope] debug with ipython

2006-06-15 Thread Jean Jordaan
Hi Martijn I've added your script to http://zopewiki.org/DebuggingWithIPythonAndOtherTips I hope that's OK. Regards, -- jean ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! **

[Zope] Render DTML inslide ZPT slot

2006-06-15 Thread Jonathan Bowlas
Hi All, Is it possible to render DTML methods inside a slot of a ZPT? If so, how would I achieve this? My DTMLs render forms to submit/edit data in a MySQL database something which cannot be done as easily in ZPT, I believe. Correct me if Im wrong. Jon

Re: Re: [Zope] allow access to fileobject depending on role

2006-06-15 Thread leandros van den berg
Jonathan wrote: Try something like: fileObj = context.restrictedTraverse('/folderA/folderB/printsbestand.pdf') fileData = context.printsbestand() fileObj.update_data(fileData, content_type='application/pdf', size=len(fileData) ) Warning: untested! Look in the ZopeBook for more info. hth

[Zope] Re: Render DTML inslide ZPT slot

2006-06-15 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jonathan Bowlas wrote: Hi All, Is it possible to render DTML methods inside a slot of a ZPT? If so, how would I achieve this? div tal:replace=structure context/some_dtml_method / My DTML's render forms to submit/edit data in a MySQL

Re: [Zope] Render DTML inslide ZPT slot

2006-06-15 Thread Dieter Maurer
Jonathan Bowlas wrote at 2006-6-15 14:05 +0100: ... Is it possible to render DTML methods inside a slot of a ZPT? If so, how would I achieve this? XXX metal:fill-slot=slot tal:content=structure your_dtml_method / -- Dieter ___

[Zope] Efficiency of Script (Python) versus External Method

2006-06-15 Thread Andrew Hedges
Is there a difference in the efficiency of a function as a Script (Python) Zope object versus an External Method? The use case is that I need to run a fairly simple function (an implementation of the Levenshtein distance algorithm) over a result set in the range of 30-40k records. Are