Re: [Zope-dev] Bad package dependencies

2007-11-02 Thread Christian Theune
Am Donnerstag, den 01.11.2007, 23:43 -0400 schrieb Chris McDonough: In summary: [...] I think fixing this sort of stuff is important if it's a goal to allow people to use Zope technologies outside of Zope-the-appserver. I'd like to participate by making new releases, but I'm not sure

[Zope-dev] buildbot failure in Zope trunk 2.4 Windows 2000 zc-bbwin6

2007-11-02 Thread buildbot
The Buildbot has detected a failed build of Zope trunk 2.4 Windows 2000 zc-bbwin6. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 3077 Blamelist: chrism,geroldboehler,hannosch,janwijbrand,jukart,kteague,rogerineichen,srichter BUILD FAILED: failed test

[Zope-dev] Re: [Checkins] SVN: zope.file/trunk/ Make a good package out of this package.

2007-11-02 Thread Stephan Richter
On Friday 02 November 2007, Benji York wrote: Stephan Richter wrote: On Friday 02 November 2007, Benji York wrote: Why the test extra? to get it working. :-) There were several packages required by ftesting.zcml. We generally put those in install_requires and eschew extras. zope.file

Re: [Zope-dev] Re: [Checkins] SVN: zope.file/trunk/ Make a good package out of this package.

2007-11-02 Thread Stephan Richter
On Friday 02 November 2007, Christian Theune wrote: I see that there is a special 'tests_require' in setuptools anyway.  We could give up on extras using tests_require if the testrunner recipe (or buildout) knew how to handle those. Yes, I think this would be the way to go. I have seen this

[Zope-dev] Re: [Checkins] SVN: zope.file/trunk/ Make a good package out of this package.

2007-11-02 Thread Benji York
Stephan Richter wrote: zope.file was the *only* package of the 150+ I worked on that did not have extras. I'm surprised. I thought it was generally agreed upon not to do that. Darn. -- Benji York Senior Software Engineer Zope Corporation ___

[Zope-dev] Re: [Checkins] SVN: zope.file/trunk/ Make a good package out of this package.

2007-11-02 Thread Christian Theune
Hi, Am Freitag, den 02.11.2007, 10:23 -0400 schrieb Stephan Richter: On Friday 02 November 2007, Benji York wrote: Stephan Richter wrote: On Friday 02 November 2007, Benji York wrote: Why the test extra? to get it working. :-) There were several packages required by

Re: [Zope-dev] Re: [Checkins] SVN: zope.file/trunk/ Make a good package out of this package.

2007-11-02 Thread Benji York
Stephan Richter wrote: Overall I am in favor in switching to 'test_require'. If I recall correctly, test_require doesn't actually do anything. :) -- Benji York Senior Software Engineer Zope Corporation ___ Zope-Dev maillist - Zope-Dev@zope.org

[Zope-dev] Re: [Checkins] SVN: zope.file/trunk/ Make a good package out of this package.

2007-11-02 Thread Stephan Richter
On Friday 02 November 2007, Christian Theune wrote: I think that extras for tests are a necessary evil until we have unscrewed the dependencies of the functional test setups. Depends on what 'unscrew' means. Functional test setups might want to demonstrate more in-depth, real-life scenarios

[Zope-dev] Re: [Checkins] SVN: zope.file/trunk/ Make a good package out of this package.

2007-11-02 Thread Benji York
Stephan Richter wrote: Log message for revision 81401: Make a good package out of this package. Changed: A zope.file/trunk/CHANGES.txt A zope.file/trunk/README.txt U zope.file/trunk/buildout.cfg U zope.file/trunk/setup.py + extras_require = dict( +

[Zope-dev] Re: Zope on Python 2.5?

2007-11-02 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeff Kowalczyk wrote: Would it be possible to have a non-system python installed (by default into /opt/python24) by the system python easy_install? I think it would be useful to have eggs that provide commands on the path such as

Re: [Zope-dev] Re: [Checkins] SVN: zope.file/trunk/ Make a good package out of this package.

2007-11-02 Thread Christian Theune
Hi, Am Freitag, den 02.11.2007, 10:53 -0400 schrieb Stephan Richter: I only know of the general problem and not the specific one. Let's say you have a package A with extras AE1 and AE2. Then you really have to write tests for three installation cases: A, A with AE1, A with AE2. Currently we

Re: [Zope-dev] Re: [Checkins] SVN: zope.file/trunk/ Make a good package out of this package.

2007-11-02 Thread Jim Fulton
On Nov 2, 2007, at 1:04 PM, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Benji York wrote: Stephan Richter wrote: Overall I am in favor in switching to 'test_require'. If I recall correctly, test_require doesn't actually do anything. :) setuptools installs

[Zope-dev] Re: [Checkins] SVN: zope.file/trunk/ Make a good package out of this package.

2007-11-02 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Benji York wrote: Stephan Richter wrote: Overall I am in favor in switching to 'test_require'. If I recall correctly, test_require doesn't actually do anything. :) setuptools installs 'tests_requires' dependencies when you run tests from

[Zope-dev] Re: SVN: zope.file/trunk/ Make a good package out of this package.

2007-11-02 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christian Theune wrote: Hi, Am Freitag, den 02.11.2007, 10:23 -0400 schrieb Stephan Richter: On Friday 02 November 2007, Benji York wrote: Stephan Richter wrote: On Friday 02 November 2007, Benji York wrote: Why the test extra? to get it

[Zope-dev] Re: [Checkins] SVN: zope.file/trunk/ Make a good package out of this package.

2007-11-02 Thread Stephan Richter
On Friday 02 November 2007, Benji York wrote: Why the test extra? to get it working. :-) There were several packages required by ftesting.zcml. Regards, Stephan -- Stephan Richter CBU Physics Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and

[Zope-dev] Zope Tests: 5 OK

2007-11-02 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Thu Nov 1 13:00:00 2007 UTC to Fri Nov 2 13:00:00 2007 UTC. There were 5 messages: 5 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2.7 Python-2.3.6 : Linux From: Zope Unit Tests Date: Thu Nov 1 21:48:08 EDT 2007

Re: [Zope-dev] Re: Zope on Python 2.5?

2007-11-02 Thread Lennart Regebro
On 11/1/07, Peter Sabaini [EMAIL PROTECTED] wrote: I always wondered -- I never had any trouble with the system Pythons, or at least not a problem that I could attribute to a system Python (Debian Stable and Ubuntu LTS) Well, try and easy_install i18ndude, and see all your Zope2 instances

[Zope-dev] Re: Zope 3 catalog

2007-11-02 Thread Ross Patterson
Roché Compaan [EMAIL PROTECTED] writes: Where can one find Zope 3 catalog? Or is it simply zope.index? I think zope.app.catalog is what you're looking for. Ross ___ Zope-Dev maillist - Zope-Dev@zope.org

[Zope-dev] Re: [Checkins] SVN: zope.file/trunk/ Make a good package out of this package.

2007-11-02 Thread Benji York
Stephan Richter wrote: On Friday 02 November 2007, Benji York wrote: Why the test extra? to get it working. :-) There were several packages required by ftesting.zcml. We generally put those in install_requires and eschew extras. -- Benji York Senior Software Engineer Zope Corporation

[Zope-dev] Zope 3 catalog

2007-11-02 Thread Roché Compaan
Where can one find Zope 3 catalog? Or is it simply zope.index? -- Roché Compaan Upfront Systems http://www.upfrontsystems.co.za ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross

Re: [Zope-dev] Re: Zope 3 catalog

2007-11-02 Thread Roché Compaan
On Fri, 2007-11-02 at 11:44 -0700, Ross Patterson wrote: Roché Compaan [EMAIL PROTECTED] writes: Where can one find Zope 3 catalog? Or is it simply zope.index? I think zope.app.catalog is what you're looking for. Thanks. I was looking at the Zope 3 version distributed with Zope 2.10 which

[Zope-dev] Re: Zope 3 catalog

2007-11-02 Thread Ross Patterson
Roché Compaan [EMAIL PROTECTED] writes: On Fri, 2007-11-02 at 11:44 -0700, Ross Patterson wrote: Roché Compaan [EMAIL PROTECTED] writes: Where can one find Zope 3 catalog? Or is it simply zope.index? I think zope.app.catalog is what you're looking for. Thanks. I was looking at the Zope

Re: [Zope] Re: Defining a dictionary in ZPT?

2007-11-02 Thread michael nt milne
So doing some more routing around on the lists I saw this advice FWIW you might want to call the query or execute methods directly on the DA connection object if they are supported. Therefore my db connection object is ado_db_connection. Modifying my code to the below and calling the query

Re: [Zope] Re: Defining a dictionary in ZPT?

2007-11-02 Thread michael nt milne
ok, thanks Duncan ul li tal:define=query nocall:here/testquery tal:repeat=result python:query(id='IT') span tal:replace=result/lastnamelastname goes here/span /li /ul works! I went down a blind alley with calling the database adapter due to confusion over the error message produced. Backs up my

[Zope] Re: Defining a dictionary in ZPT?

2007-11-02 Thread Duncan Booth
michael nt milne [EMAIL PROTECTED] wrote: li tal:define = query here/testquery tal:repeat=result python:query(id='IT') span tal:replace=python:repeat['result'].firstnameFirst Name/spannbsp; /li but get this as a result. Thanks for the reply. Module

Re: [Zope] Re: Defining a dictionary in ZPT?

2007-11-02 Thread michael nt milne
ps for completeness here is the testquery ZSQL which works fine when tested in the ZMI and manually inputting the id variable. select * from tblEmployees where department = (dtml-sqlvar id type=string) order by 'location' I have 'id' in the argument field Thanks On 11/2/07, michael nt milne

[Zope] Re: Defining a dictionary in ZPT?

2007-11-02 Thread Josef Meile
Hi Michael michael nt milne schrieb: yeah I have modified to this li tal:define = query here/testquery tal:repeat=result python:query(id='IT') span tal:replace=python:repeat['result'].firstnameFirst Name/spannbsp; /li but get this as a result. Thanks for the reply. Module

Re: [Zope] Re: Defining a dictionary in ZPT?

2007-11-02 Thread michael nt milne
Hi Josef ul li tal:define=query here/testquery tal:repeat=result python:query(id='IT') span tal:replace=repeat/resultfirstname goes here/span /li /ul gives the same AttributeError: Results instance has no __call__ method As does span tal:replace=repeat/result/firstnameFirst Name/span As

Re: [Zope] Re: Defining a dictionary in ZPT?

2007-11-02 Thread Stefan H. Holek
The only point being backed up by this thread, IMO, is that Thou shalt not code in TALES. Stefan On 2. Nov 2007, at 12:53, michael nt milne wrote: Backs up my point about more friendly and usable error messages. -- Anything that, in happening, causes something else to happen, causes

Re: [Zope] Re: Defining a dictionary in ZPT?

2007-11-02 Thread michael . milne
So use DTML? Or NKOTB? :-) On 11/2/07, Stefan H. Holek [EMAIL PROTECTED] wrote: The only point being backed up by this thread, IMO, is that Thou shalt not code in TALES. Stefan On 2. Nov 2007, at 12:53, michael nt milne wrote: Backs up my point about more friendly and usable error