PLEASE don't remove eggs [was Re: [Zope3-dev] faulty releases and pypi access [update]]

2007-09-26 Thread Gary Poster
On Sep 26, 2007, at 4:49 AM, Christian Theune wrote: - Remove the broken files. I'm not sure if this is related, but I noticed yesterday at least of couple of eggs that we are using had been removed, in this case from zope.org. Please, whoever is doing this, stop. If a release is

Re: PLEASE don't remove eggs [was Re: [Zope3-dev] faulty releases and pypi access [update]]

2007-09-26 Thread Gary Poster
On Sep 26, 2007, at 3:33 PM, Dieter Maurer wrote: Gary Poster wrote at 2007-9-26 09:39 -0400: ... - Remove the broken files. I'm not sure if this is related, but I noticed yesterday at least of couple of eggs that we are using had been removed, in this case from zope.org. Please, whoever

Re: AW: [Zope3-dev] Re: AW: relying on win32api in windows supportofzc.zope3recipes

2007-08-17 Thread Gary Poster
On Aug 17, 2007, at 5:13 PM, Roger Ineichen wrote: Hi Martijn Betreff: Re: [Zope3-dev] Re: AW: relying on win32api in windows supportofzc.zope3recipes [...] We're just talking about Zope here, and installing Zope into its own buildout (possibly sharing eggs with another). This means we

[Zope3-dev] Re: [ZODB-Dev] Problems with ZODB3-3.9.0_dev_r77011

2007-07-19 Thread Gary Poster
On Jul 19, 2007, at 7:11 AM, Tobias Rodäbel wrote: Hi, zope.app.keyreference-3.5.0_dev_r77018-py2.4.egg requires ZODB3=3.9.0-dev-r77011 But there might be a caching problem within ZODB3-3.9.0 dev r77011, my debug session tells:

Re: AW: [Zope3-dev] Re: [ZODB-Dev] Problems with ZODB3-3.9.0_dev_r77011

2007-07-19 Thread Gary Poster
On Jul 19, 2007, at 10:36 AM, Roger Ineichen wrote: Hi Tobias Auftrag von Gary Poster Gesendet: Donnerstag, 19. Juli 2007 15:53 An: Tobias Rodäbel [...] zope.app.keyreference-3.5.0_dev_r77018-py2.4.egg requires ZODB3=3.9.0-dev-r77011 But there might be a caching problem within ZODB3

Re: [Zope3-dev] Re: zc.table.column.GetterColumn does not encode

2007-07-19 Thread Gary Poster
On Jul 19, 2007, at 11:31 AM, Adam Groszer wrote: Wednesday, July 18, 2007, 6:55:50 PM, I wrote: Hello, Seems like zc.table.column.GetterColumn does not encode the characters to the usual amp, lt, gt. Is that OK this way? I usually insert the result of the Formatter() with div

Re: [Zope3-dev] RFC: zopeproject

2007-07-19 Thread Gary Poster
On Jul 19, 2007, at 6:46 PM, Philipp von Weitershausen wrote: On 18 Jul 2007, at 19:25 , Kent Tenney wrote: on my W2K machine zopeproject MyZopeProject fails because I don't have Visual Studio installed and it wants to compile extensions for ZODB Right. Something seems to depend on ZODB

[Zope3-dev] Re: Re-revisiting IResult (for in-Zope pipelining)

2007-07-13 Thread Gary Poster
On Jul 13, 2007, at 5:40 AM, Lennart Regebro wrote: Hi all! On 4/16/07, Gary Poster [EMAIL PROTECTED] wrote: The work that Jim Washington and David Pratt have started recently to make lxml an XHTML generator/ZPT replacement [#1]_ has really excited me. It would be *great* with in-Zope

Re: [Zope3-dev] Re: Re-revisiting IResult (for in-Zope pipelining)

2007-07-13 Thread Gary Poster
On Jul 13, 2007, at 6:06 AM, Lennart Regebro wrote: On 7/13/07, Gary Poster [EMAIL PROTECTED] wrote: We are looking for recommendations and visions on how to do this pipelining with IResults, because it's not entirely clear to us at the moment. Main worries are the questions of how

Re: [Zope3-dev] CHANGES.txt (was: Windows eggs)

2007-07-13 Thread Gary Poster
On Jul 13, 2007, at 11:30 AM, Jim Fulton wrote: On Jul 13, 2007, at 11:07 AM, Philipp von Weitershausen wrote: Tres Seaver wrote: Doing proper release management can't reeally be called a waste of time (that would include documenting exactly what *has* changed). Tres raises a good

[Zope3-dev] Re: Re-revisiting IResult (for in-Zope pipelining)

2007-07-13 Thread Gary Poster
On Jul 13, 2007, at 12:30 PM, Lennart Regebro wrote: On 7/13/07, Tres Seaver [EMAIL PROTECTED] wrote: You can't ask upstream to produce a thousand different pipelineables; the interface there needs to be dirt simple, and *always the same.*. In particular, you can't return unicode *or* a

Re: [Zope3-dev] zope.app.session/zope.minmax

2007-07-05 Thread Gary Poster
On Jul 5, 2007, at 9:30 AM, Christian Theune wrote: Am Dienstag, den 03.07.2007, 10:31 +0300 schrieb Gary Poster: Christian et al: What do you want in regards to the zope.app.session changes that rely on the new package zope.minmax? Very briefly, the change allows the simple

Re: [Zope3-dev] RFC: Don't need $Id$ string any more

2007-07-05 Thread Gary Poster
On Jul 4, 2007, at 3:08 PM, Jim Fulton wrote: I originally wanted $Id$ RCS keywords in module doc strings so that we could create tools that determined run-time version information. Unfortunately, subversion makes using this a bit difficult, as it doesn't update this information by

Re: [Zope3-dev] two small bugs in zc.relationship

2007-07-04 Thread Gary Poster
On Jul 4, 2007, at 5:59 PM, Markus Kemmerling wrote: You are right, I should have provided tests for the changes right away. Thank you very much! The following releases have your fix. http://cheeseshop.python.org/pypi/zc.relationship/1.0.2 (stable, used for ZODB 3.7/Zope 3.3/Zope 2.10)

[Zope3-dev] zope.app.session/zope.minmax

2007-07-03 Thread Gary Poster
Christian et al: What do you want in regards to the zope.app.session changes that rely on the new package zope.minmax? Very briefly, the change allows the simple zope.app.session approach to cause fewer unnecessary write conflicts. Is this zope.app.session 3.5dev-rXXX relying on

Re: [Zope3-dev] zope.app.session/zope.minmax

2007-07-03 Thread Gary Poster
On Jul 3, 2007, at 11:41 AM, Bernd Dorn wrote: On 03.07.2007, at 09:31, Gary Poster wrote: Christian et al: What do you want in regards to the zope.app.session changes that rely on the new package zope.minmax? Very briefly, the change allows the simple zope.app.session approach

Re: [Zope3-dev] two small bugs in zc.relationship

2007-07-02 Thread Gary Poster
On Jul 2, 2007, at 3:24 PM, Markus Kemmerling wrote: Hi, I discovered two smalll bugs in `zc.relationship`. Thanks, I'll get those in 24 hours or so. FWIW, generally, tests would be appreciated too, particularly of the index. I'll make one for the index: I use that heavily and the tests

Re: [Zope3-dev] package branches

2007-07-02 Thread Gary Poster
On Jul 2, 2007, at 9:42 PM, Jim Fulton wrote: Thanks for reply. quick notes: I think that in *technically* depending on a newer version introduces a backward incompatibility. (It's like strengthening a precondition of a method.) This is especially a problem if people are specifying

Re: [Zope3-dev] two small bugs in zc.relationship

2007-07-02 Thread Gary Poster
On Jul 2, 2007, at 6:19 PM, Gary Poster wrote: On Jul 2, 2007, at 3:24 PM, Markus Kemmerling wrote: Hi, I discovered two smalll bugs in `zc.relationship`. Thanks, I'll get those in 24 hours or so. FWIW, generally, tests would be appreciated too, particularly of the index. I'll make

Re: [Zope3-dev] Re: [Checkins] SVN: zope.app.form/trunk/src/zope/app/form/browser/te FileWidget tries to be smarter about not deleting the currently stored content when the user did not upload a new f

2007-06-27 Thread Gary Poster
On Jun 27, 2007, at 2:49 AM, Christian Zagrodnick wrote: On 2007-06-26 22:41:25 +0200, Gary Poster [EMAIL PROTECTED] said: On Jun 23, 2007, at 6:38 AM, Christian Zagrodnick wrote: Log message for revision 76975: FileWidget tries to be smarter about not deleting the currently stored

Re: [Zope3-dev] package branches

2007-06-27 Thread Gary Poster
On Jun 27, 2007, at 2:30 AM, Bernd Dorn wrote: On 26.06.2007, at 21:44, Gary Poster wrote: On Jun 26, 2007, at 3:29 PM, Bernd Dorn wrote: i think as long the package has a dev dependency like ZODB 3.9 it should at least have alpha or beta status Hi Bernd. Why? because it pulls

Re: [Zope3-dev] Specifying upper limits in dependencies

2007-06-27 Thread Gary Poster
On Jun 27, 2007, at 10:01 AM, Christian Theune wrote: Hi, the recent introduction of zope.app.keyreference-3.5dev with it's dependency on ZODB 3.9 brought some issues for me as I get conflicts in various buildouts (e.g. z3c.zalchemy). In my example, z3c.zalchemy doesn't care about which

Re: [Zope3-dev] Re: Question regarding zc.relationship

2007-06-27 Thread Gary Poster
On Jun 27, 2007, at 12:21 PM, Jürgen Kartnaller wrote: We store 100K relations this way. Cool. ZODB loads the referenced objects on demand. Very true. Additionally, I imagine Jürgen is using integer tokens, such as intids, to represent the objects within the index. Using that

Re: [Zope3-dev] package branches

2007-06-26 Thread Gary Poster
On Jun 26, 2007, at 3:29 PM, Bernd Dorn wrote: On 23.06.2007, at 12:38, Christian Theune wrote: Am Samstag, den 23.06.2007, 07:04 -0400 schrieb Gary Poster: Hey Christian. I intend to check in some code that fixes zope.app.keyreference conflict error issues I wrote about last week

[Zope3-dev] Re: [Checkins] SVN: zope.app.form/trunk/src/zope/app/form/browser/te FileWidget tries to be smarter about not deleting the currently stored content when the user did not upload a new file.

2007-06-26 Thread Gary Poster
On Jun 23, 2007, at 6:38 AM, Christian Zagrodnick wrote: Log message for revision 76975: FileWidget tries to be smarter about not deleting the currently stored content when the user did not upload a new file. ... Modified: zope.app.form/trunk/src/zope/app/form/browser/textwidgets.py

[Zope3-dev] package branches

2007-06-23 Thread Gary Poster
Hey Christian. I intend to check in some code that fixes zope.app.keyreference conflict error issues I wrote about last week. This will take advantage of some code that I checked in to the ZODB, that I don't intend to be part of ZODB 3.8--so I don't intend my zope.app.keyreference

Re: [Zope3-dev] Re: AW: deprecate ++etc++site/default?

2007-06-21 Thread Gary Poster
On Jun 21, 2007, at 5:22 PM, Jodok Batlogg wrote: On 21.06.2007, at 22:57, Bernd Dorn wrote: On 20.06.2007, at 08:01, Christian Zagrodnick wrote: Note that adding a subitem called 'default' won't be allowed: site_manager['default'] = object() Traceback (most recent call

[Zope3-dev] Re: [Checkins] SVN: z3c.form/trunk/src/z3c/form/ HTML element ids containing dots are not very good, because then the

2007-06-19 Thread Gary Poster
On Jun 19, 2007, at 1:47 PM, Stephan Richter wrote: On Thursday 14 June 2007 12:11, Gary Poster wrote: I understand your argument, but I'd be worried about being hosed anyway. This worry is logicially unjustified. :-) From the sources you gave me to read and the comments others provided

Re: AW: [Zope3-dev] a ConflictError grabbag: problems and solutions inzope.app.keyreference and zope.app.session

2007-06-14 Thread Gary Poster
On Jun 14, 2007, at 4:31 AM, Roger Ineichen wrote: Hi Gary Betreff: [Zope3-dev] a ConflictError grabbag: problems and solutions inzope.app.keyreference and zope.app.session [...] I suppose a compromise would be to make a zope.minmax, and then have zope.app.session depend on it. That

[Zope3-dev] Re: [Checkins] SVN: z3c.form/trunk/src/z3c/form/ HTML element ids containing dots are not very good, because then the

2007-06-14 Thread Gary Poster
On Jun 13, 2007, at 1:22 AM, Stephan Richter wrote: Hello Gary, I am sorry that it took me so long to respond, but I had to think about this problem for while and family is in town as well. Very much understood. On Sunday 03 June 2007 14:18, Gary Poster wrote: Hey. I've only had

Re: [Zope3-dev] Re: [Checkins] SVN: z3c.form/trunk/src/z3c/form/ HTML element ids containing dots are not very good, because then the

2007-06-14 Thread Gary Poster
The html is very lame, btw, including, as someone pointed out to me, a rather than a amp;. However, it shouldn't affect the demonstration. :-) Gary ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub:

Re: [Zope3-dev] a ConflictError grabbag: problems and solutions in zope.app.keyreference and zope.app.session

2007-06-14 Thread Gary Poster
On Jun 14, 2007, at 4:45 PM, Dieter Maurer wrote: Gary Poster wrote at 2007-6-13 17:12 -0400: ... 2) The second problem is less serious, ... I doubt that this will help you much (we use such an implementation for many years and still see quite often session related conflicts). The reason

[Zope3-dev] a ConflictError grabbag: problems and solutions in zope.app.keyreference and zope.app.session

2007-06-13 Thread Gary Poster
I've been paying some attention to ConflictErrors lately. There are a couple of problems right now in some packages we rely on. This is a heads up of the problems, and a chance to give me feedback on the solutions, particularly in regards to how I should distribute them. 1)

Re: AW: AW: [Zope3-dev] Re: [Checkins] SVN: z3c.form/trunk/src/z3c/form/HTMLelement ids containing dots are not very good, because then the

2007-06-08 Thread Gary Poster
On Jun 6, 2007, at 5:40 AM, Roger Ineichen wrote: Hi Gary Hey Roger Betreff: Re: AW: [Zope3-dev] Re: [Checkins] SVN: z3c.form/trunk/src/z3c/form/HTMLelement ids containing dots are not very good, because then the On Jun 5, 2007, at 3:28 AM, Roger Ineichen wrote: Hi Stephan, Gary,

Re: AW: [Zope3-dev] Re: [Checkins] SVN: z3c.form/trunk/src/z3c/form/ HTMLelement ids containing dots are not very good, because then the

2007-06-05 Thread Gary Poster
On Jun 5, 2007, at 3:28 AM, Roger Ineichen wrote: Hi Stephan, Gary, Marius Hey Roger Agreed, we can't use different names and ids! Cool We can use camel bucket names instead of dots. This means we can convert each first letter of a prefix to a uper case letter. But the first letter

[Zope3-dev] Re: [Checkins] SVN: z3c.form/trunk/src/z3c/form/ HTML element ids containing dots are not very good, because then the

2007-06-03 Thread Gary Poster
On Jun 3, 2007, at 12:58 PM, Stephan Richter wrote: Log message for revision 76258: HTML element ids containing dots are not very good, because then the element#id CSS selector does not work and at least in firefox the attribute selector (element[attr=value]) does not work for the id

Re: [Zope3-dev] Re: Splitting package configuration

2007-05-28 Thread Gary Poster
On May 25, 2007, at 3:18 PM, Martin Aspeli wrote: FWIW, I've found it tricky to use things like z3c.widgets (or more accurately, a part of z3c.widgets, but that's a different story) because there was no egg to find, download and let buildout install for me. Strong +1. The state of

[Zope3-dev] Re: System python for *development*? (Was: 3.3.0 tag broken by zc.catalog eggs?)

2007-05-21 Thread Gary Poster
On May 21, 2007, at 9:20 AM, Philipp von Weitershausen wrote: Martijn Pieters wrote: On 5/21/07, Gary Poster [EMAIL PROTECTED] wrote: FWIW, I know zc.catalog but I'm certainly not an egg expert. But this message looks like you are maybe sharing a Python for various installations. Are you

Re: [Zope3-dev] 3.3.0 tag broken by zc.catalog eggs?

2007-05-20 Thread Gary Poster
On May 19, 2007, at 12:22 PM, Paul Carduner wrote: Upon a fresh checkout and make of the 3.3.0 tag of Zope3, I get the following error: Installed /home/pcardune/work/cando-2006/SchoolTool/Zope3/src/ zc.i18n-0.6.1dev_r72454-py2.4.egg error: Installed distribution zc.catalog 1.2dev-r74943

Re: [Zope3-dev] buildbot for all buildout projects

2007-05-08 Thread Gary Poster
On May 8, 2007, at 6:52 AM, Christian Theune wrote: Hi, while moving on to Zope 3.4 beta, I had the need to assure that all the zope.* packages are actually working. I investigated a couple of options and finally decided for buildout. The result is visible here:

Re: [Zope3-dev] zc.catalog-1.1.1 egg has gone missing

2007-04-25 Thread Gary Poster
On Apr 24, 2007, at 11:42 PM, David Pratt wrote: Ok I see what has happened, a 1.2dev egg was released to pipy and 1.1.1 is now no longer current release and is now inaccessible. Could someone put 1.1.1 on downloads site. Many thanks. I am glad you found the download cache. I'm sorry I

Re: [Zope3-dev] SHA1Password manager, add a pinch of salt

2007-04-23 Thread Gary Poster
On Apr 23, 2007, at 12:03 PM, Giovannetti, Mark wrote: You make a point, although I would expect a reference implementation to be as good as possible. Hence, improvements can be encouraged and, perhaps, the security bar raised. Adding this salt patch allows a better, more secure reference

Re: [Zope3-dev] Re: Zope 3.4.0a1 released

2007-04-20 Thread Gary Poster
On Apr 20, 2007, at 10:25 AM, Martijn Faassen wrote: Hey, Compatibility with Zope 2 -- We continue to work on the transition from Zope 2 to Zope 3 by making Zope 2 use more and more of the Zope 3 packages. But we're not there yet. **You can't run Zope 2 applications

IResult and zope.file (was Re: [Zope3-dev] revisiting IResult (for in-Zope pipelining))

2007-04-18 Thread Gary Poster
The IResult changes discussed on this list are in rev 74219. I released (on http://download.zope.org/distribution/) two eggs for the affected packages, zope.publisher and zope.app.wsgi. I also released a 0.1 zope file egg that specifies it must use eggs earlier than the new ones; and a

Re: [Zope3-dev] revisiting IResult (for in-Zope pipelining)

2007-04-16 Thread Gary Poster
On Apr 15, 2007, at 9:51 PM, Gary Poster wrote: We would delete the private IRequest entirely, without deprecation Sorry, IRequest in that sentence should have been IResult Gary ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http

Re: [Zope3-dev] revisiting IResult (for in-Zope pipelining)

2007-04-16 Thread Gary Poster
On Apr 16, 2007, at 9:58 AM, Jim Fulton wrote: On Apr 15, 2007, at 9:51 PM, Gary Poster wrote: [...] IResult (zope/publisher/http.py, about line 600) has been the hidden, private, don't-use-it-because-it's-going-away tool with which you can build pipelines since before Dec. 2005

[Zope3-dev] Re: revisiting IResult (for in-Zope pipelining)

2007-04-16 Thread Gary Poster
On Apr 16, 2007, at 12:18 PM, Philipp von Weitershausen wrote: Gary Poster wrote: The work that Jim Washington and David Pratt have started recently to make lxml an XHTML generator/ZPT replacement [#1]_ has really excited me. It would be *great* with in-Zope pipelines [#2]_. [snip] So

[Zope3-dev] Re: revisiting IResult (for in-Zope pipelining)

2007-04-16 Thread Gary Poster
On Apr 16, 2007, at 3:55 PM, Philipp von Weitershausen wrote: On 16 Apr 2007, at 19:09 , Gary Poster wrote: I suppose there are four choices: (a) special case strings to make sure they are chunked the right way; (b) expect that the adapter result will be chunked the right way, so

[Zope3-dev] revisiting IResult (for in-Zope pipelining)

2007-04-15 Thread Gary Poster
The work that Jim Washington and David Pratt have started recently to make lxml an XHTML generator/ZPT replacement [#1]_ has really excited me. It would be *great* with in-Zope pipelines [#2]_. IResult (zope/publisher/http.py, about line 600) has been the hidden, private,

Re: [Zope3-dev] zc.catalog.setindex 'all_of' bug?

2007-03-17 Thread Gary Poster
On Mar 17, 2007, at 2:26 PM, Nando Quintana wrote: Hi guys, Mikel and me are testing some zope3 features in the camp5 sprint in North Carolina and have seen an strange behaviour on the setindex. the 'all_of' query performs an intersection of the results got for each value in the query.

rwproperty (was Re: [Zope3-dev] Re: zope.cachedescriptors outdated)

2007-02-28 Thread Gary Poster
On Feb 24, 2007, at 3:59 PM, Philipp von Weitershausen wrote: [...] I once mused about this and came up with rwproperty (a decorator spelling for getters *and* setters, del'ers) and classproperty (uses nested class statement): http://www.z3lab.org/sections/blogs/

Re: rwproperty (was Re: [Zope3-dev] Re: zope.cachedescriptors outdated)

2007-02-28 Thread Gary Poster
On Feb 28, 2007, at 9:10 PM, Philipp von Weitershausen wrote: I didn't realize rwproperty was so popular. I've been wanting to put it on the Cheeseshop since I found out about its popularity. It's like you're reading my mind :). http://cheeseshop.python.org/ pypi/rwproperty Awesome,

Re: [Zope3-dev] Re: Bug in zc.catalog.index

2007-02-22 Thread Gary Poster
On Feb 22, 2007, at 1:57 AM, Jürgen Kartnaller wrote: Gary Poster wrote: Hi Roger. zc.catalog 1.1 is stable, 1.2 is dev. The trunk of zc.catalog, and the upcoming 1.2 release line, works with the ZODB trunk (ZODB 3.8, Zope 3.4), which is gaining some tools to manage the two new families

Re: [Zope3-dev] Bug in zc.catalog.index

2007-02-21 Thread Gary Poster
On Feb 21, 2007, at 8:10 PM, Roger Ineichen wrote: Hi alga Is this mine or is there something wrong with zc.catalog.index, BTreeAPI or? - self._add_value(doc_id, value) File D:\reflineRecruiter\app\trunk\src\zc\catalog\index.py, line 115, in _add_value values_to_documents[added] =

Re: [Zope3-dev] possible bug in zc.relationship when passing empty container as target in isLinked

2007-01-23 Thread Gary Poster
On Jan 23, 2007, at 3:20 AM, Shaar Gabriel wrote: Hi i think i found a bug in zc.relationship svn. the bug is in shared.AbstractContainer.isLinked if the target parameter is a container with no objects, then it resolves to False in a bool context and tokenization fails target and

Re: [Zope3-dev] RFC: test.py --list-modules

2007-01-12 Thread Gary Poster
On Jan 12, 2007, at 6:33 PM, Marius Gedminas wrote: On Fri, Jan 12, 2007 at 05:17:18PM -0500, Benji York wrote: Marius Gedminas wrote: I have implemented a --list-modules option in a branch. It causes the test runner to apply package and module name filters, and then print the list of

Re: [Zope3-dev] RFC: test.py -u -f

2007-01-12 Thread Gary Poster
On Jan 12, 2007, at 6:37 PM, Marius Gedminas wrote: Due to an accident of implementation, if you pass both -u (run unit tests) and -f (run non-unit tests) to the test runner, it will not run any tests at all. That is not useful. I have a branch where test.py -fu is equivalent to specifying

Re: [Zope3-dev] Weird package in Zope 3 core: optionstorage

2006-12-20 Thread Gary Poster
On Dec 20, 2006, at 2:42 AM, Christian Theune wrote: Hi again, Christian Theune wrote: Hi, I just stumbled over the package optionstorage. The checkin message when this was added reads: This is a generic solution for including editable and multi-lingual vocbulary-like information in any

Re: [Zope3-dev] Cleaning up the widget mess a little bit: bug or feature

2006-12-20 Thread Gary Poster
On Dec 19, 2006, at 2:34 AM, Christian Theune wrote: Hi again, Gary Poster wrote: I don't have a very strong feeling about it, but lean towards bug fix. It didn't break any of our code (or at least any of our tests :-) ) so it seems safe from my perspective. I was trying to apply

Re: [Zope3-dev] Cleaning up the widget mess a little bit: bug or feature

2006-12-20 Thread Gary Poster
On Dec 20, 2006, at 7:15 AM, Christian Theune wrote: Hi, Gary Poster wrote: On Dec 19, 2006, at 2:34 AM, Christian Theune wrote: Hi again, Gary Poster wrote: I don't have a very strong feeling about it, but lean towards bug fix. It didn't break any of our code (or at least any of our

Re: [Zope3-dev] Cleaning up the widget mess a little bit: bug or feature

2006-12-18 Thread Gary Poster
On Dec 14, 2006, at 7:55 AM, Christian Theune wrote: Hi, ... Zagy and I fixed this issue, by making the methods _getCurrentValue and _getFormValue use a common method to retrieve the input value and handle the case of converting to the form value cleanly. However, we are not sure, whether

Re: [Zope3-dev] Issue 712: Bug or feature?

2006-12-18 Thread Gary Poster
On Dec 18, 2006, at 2:27 PM, Christian Theune wrote: Can somebody help me classify this issue? http://www.zope.org/Collectors/Zope3-dev/721 I'd consider it a bug and change my original target of 3.4 to include it as a bugfix in 3.3 (and a backport to 3.2). But I smell that there might be

Re: [Zope3-dev] Heads up: bugs in zope.app.catalog?

2006-11-17 Thread Gary Poster
On Nov 17, 2006, at 7:22 AM, Christian Theune wrote: Hi, Adam Groszer wrote: Hello Christian, Yep, but... What is the `good` behaviour regarding None values? Do we need to catalog them or skip them? Example: If the object is (user.title == None) Shall it be kept in the catalog or not? In

Re: [Zope3-dev] RFC: should z.a.c.attribute.AttributeIndex index None values?

2006-11-17 Thread Gary Poster
On Nov 17, 2006, at 10:23 AM, Adam Groszer wrote: Hello, Solutions: a: No, do not keep None values in the catalog the current implementation works like this you are unable to ask the catalog for objects having None properties b: Yes, keep None values in the catalog you can ask

Re: [Zope3-dev] RFC: should z.a.c.attribute.AttributeIndex index None values?

2006-11-17 Thread Gary Poster
On Nov 17, 2006, at 10:46 AM, Gary Poster wrote: This is a less efficient approach than the zc.catalog approach. Clarification: Less efficient from a data storage perspective. From a search perspective, it is more efficient. Gary ___ Zope3

Re: Re[3]: [Zope3-dev] RFC: should z.a.c.attribute.AttributeIndex index None values?

2006-11-17 Thread Gary Poster
On Nov 17, 2006, at 11:13 AM, Adam Groszer wrote: Hello, Two more questions remain open, but I think they are easy to answer. In case the field is callable but the method to be called is None Yes, remove from index. OR The method is not None but raises an exception while getting the

Re: Re[5]: [Zope3-dev] RFC: should z.a.c.attribute.AttributeIndex index None values?

2006-11-17 Thread Gary Poster
On Nov 17, 2006, at 11:29 AM, Adam Groszer wrote: Hello Gary, At the moment it is try: value = value() except: return None So that will eat the exception without any signs. That makes me also glum when I have to dig deep to discover that something ate an exception. I propose to

Re: [Zope3-dev] RFC: should z.a.c.attribute.AttributeIndex index None values?

2006-11-17 Thread Gary Poster
On Nov 17, 2006, at 11:38 AM, Christian Theune wrote: Gary Poster wrote: On Nov 17, 2006, at 11:29 AM, Adam Groszer wrote: I propose to remove the try/except. Is that OK? Yes, I think removing the bare try...except is definitely the right thing to do. (Anyone care to disagree?) Would

Re: [Zope3-dev] RFC: should z.a.c.attribute.AttributeIndex index None values?

2006-11-17 Thread Gary Poster
On Nov 17, 2006, at 11:44 AM, Christian Theune wrote: Gary Poster wrote: Yeah, it makes me a little nervous too. I'm comfortable saying this should go on the trunk, but I'd default to saying that it shouldn't be backported, unless there's a groundswell of support. Splitting up the patch

Re: [Zope3-dev] Re: RFC: should z.a.c.attribute.AttributeIndex index None values?

2006-11-17 Thread Gary Poster
On Nov 17, 2006, at 1:46 PM, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gary Poster wrote: On Nov 17, 2006, at 10:23 AM, Adam Groszer wrote: Hello, Solutions: a: No, do not keep None values in the catalog the current implementation works like this you

Re: [Zope3-dev] Re: browser widgets: items widgets and label tags

2006-11-12 Thread Gary Poster
On Nov 12, 2006, at 7:30 AM, yuppie wrote: Hi Benji! Benji York wrote: yuppie wrote: Adding additional complexity for getting the label issue perfectly right doesn't fit much to the rest of the code. And I doubt any browser will have trouble with 'for' attributes pointing to a

Re: [Zope3-dev] Re: The z3c.javascript package

2006-10-25 Thread Gary Poster
On Oct 25, 2006, at 10:46 AM, Benji York wrote: Fred Drake wrote: My first guess is that this is a licensing-related issue; is that right? I don't know, but doubt it. Both MochiKit and dojo are available under very permissive licenses. Right, but currently only ZC employees are

Re: [Zope3-dev] testing and savepoints

2006-10-17 Thread Gary Poster
On Oct 17, 2006, at 12:01 PM, Chris Withers wrote: So I'm left what the actual use for savepoints is 1) you want to reduce your memory usage within a transaction 2) a) sometimes you want to roll back to a certain point in a transaction. b) sometimes you do this in a context of an

Re: [Zope3-dev] Re: Python version for Zope 3.4 ?

2006-09-29 Thread Gary Poster
On Sep 29, 2006, at 10:03 AM, Jim Fulton wrote: Tres Seaver wrote: ... The change from 2.4 to 2.5 is *massively* disruptive for a framework like Zope: much more so than any change since 2.2, I think (maybe even 2.0/2.1). The hardest bit is the change to the way the compiler works:

Re: [Zope3-dev] Re: zope.filerepresentation.interfaces.IWriteFile

2006-09-29 Thread Gary Poster
On Sep 29, 2006, at 5:08 PM, Luis De la Parra wrote: then we have z3c.filetype and zope.mimetype. For what I've seen, z3c.filetype is in a better shape, but both of them seem to be similar. I'm not familiar with z3c.filetype. Could you (or someone else) elaborate on the similarities,

Re: [Zope3-dev] Zope3 trunk doesn't start

2006-09-25 Thread Gary Poster
On Sep 25, 2006, at 12:18 PM, Roger Ineichen wrote: Hi all How drops the bforest package out of the zope package? Do we get bforest package back or should we drop the API doc registration too for bforest too? Hm. I ran the tests before checking in the removal. bforest was added in the

Re: [Zope3-dev] Re: give ability to get rid of deprecated code

2006-09-11 Thread Gary Poster
On Sep 11, 2006, at 5:22 PM, Florent Xicluna wrote: Florent wrote: I propose to patch the 'trunk' in order to allow removing of these packages. Here are the proposed changes: - catch 'ImportError' when we make use of zope.app.skins - introduce ZCML feature 'deprecatedlayers' which is 'on'

[Zope3-dev] URLGetter security declaration: changing from zope.View to zope.Public

2006-09-04 Thread Gary Poster
In zope/app/publisher/http.zcml we have class class=zope.publisher.http.URLGetter require permission=zope.View attributes=get __getitem__ __str__ / /class I think this should be zope.Public. Otherwise unauthorized users viewing an untrusted page template will get

[Zope3-dev] Make testbrowser virtual host test helper run on level 2?

2006-08-31 Thread Gary Poster
Anyone object if I change the testbrowser virtual host test helper (zope.testbrowser.testing.VirtualHostTestBrowserSuite) to run the virtual host tests on level 2? Up side: tests that use this feature will go about twice as fast with a normal test run, and be fine in the common case. Down

Re: [Zope3-dev] Make testbrowser virtual host test helper run on level 2?

2006-08-31 Thread Gary Poster
On Aug 31, 2006, at 5:49 PM, Benji York wrote: Gary Poster wrote: Anyone object if I change the testbrowser virtual host test helper (zope.testbrowser.testing.VirtualHostTestBrowserSuite) to run the virtual host tests on level 2? Sounds good to me. I suspect this should be a trunk

[Zope3-dev] New open-sourced Zope Corporation packages

2006-08-24 Thread Gary Poster
Zope Corporation is happy to announce a number of newly open-sourced packages. All are in use, in development, or both. We release these packages in the strong hope that others will contribute to them, from maintenance through extension to refactoring. The maintainers are effectively

[Zope3-dev] Re: [Zope3-Users] New open-sourced Zope Corporation packages

2006-08-24 Thread Gary Poster
On Aug 24, 2006, at 12:14 PM, Martijn Faassen wrote: Gary Poster wrote: Zope Corporation is happy to announce a number of newly open- sourced packages. All are in use, in development, or both. [snip long list] Awesome! And thanks for this announcement! And here Infrae's with only 3 hurry

Re: [Zope3-dev] Re: zope.webdav

2006-08-23 Thread Gary Poster
On Aug 23, 2006, at 4:56 PM, Philipp von Weitershausen wrote: Michael Kerrin wrote: I have just added a new implemation of WebDAV to svn.zope.org ... You rock! Yeah, I look forward to looking at this too. :-) Thanks, Michael! ...I also see that it uses zope.locking for the locking.

zc.async (was Re: [Zope3-dev] Re: Zope 2 clock server for Zope 3)

2006-08-21 Thread Gary Poster
On Aug 21, 2006, at 10:51 AM, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christian Theune wrote: Florian Lindner wrote: Am Sonntag, 20. August 2006 06:11 schrieb Christian Theune: Hi, you might try a look at the recently released zc.async which allows you to

Re: [Zope3-dev] Re: [Checkins] SVN: lovely.rating/ Initial import from Lovely Systems repository

2006-08-16 Thread Gary Poster
[removed Checkins mailing list--maybe we can choose one list or the other?] On Aug 16, 2006, at 10:03 AM, Martijn Faassen wrote: And at this moment in time, Zope Corporation as far as I understand is not bound by the same contributor's agreement we are. It's their repository. This will

Re: [Zope3-dev] Weird error within __cmp__ method of KeyReferenceToPersistent

2006-08-04 Thread Gary Poster
On Aug 2, 2006, at 6:03 AM, Dominik Huber wrote: Hi Gary Thanks for your inputs. I was also offline this days... Gary Poster wrote: [...] Well, first of all, I suspect your situation, based on what I've seen so far, looks something like this: - code creates obj P1 - code puts P1

[Zope3-dev] Buildbot test failures

2006-08-03 Thread Gary Poster
I checked in a test and fix tonight for http://www.zope.org/ Collectors/Zope3-dev/674 . Both worked on my Mac and my Ubuntu systems. On buildbot, the fix didn't break any tests, but the new test itself made two of five buildbots unhappy: one Linux slave and one Windows slave reported

Re: [Zope3-dev] Buildbot test failures

2006-08-03 Thread Gary Poster
This appears to be taken care of. The pertinent parts of buildbot are now green, after a couple of tweaks. Gary ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Re: [Zope3-dev] Weird error within __cmp__ method of KeyReferenceToPersistent

2006-07-28 Thread Gary Poster
On Jul 28, 2006, at 5:05 AM, Dominik Huber wrote: Gary Poster wrote: I object. :-) Thanks for the feedback! :-) Thanks for the really clear discussion below. I think I have a better idea about what is going on. BTW, I'm trying to squeeze a reply in before I (might) become

Re: [Zope3-dev] Weird error within __cmp__ method of KeyReferenceToPersistent

2006-07-27 Thread Gary Poster
On Jul 27, 2006, at 12:42 PM, Dominik Huber wrote: Hi, Today I got a weird error caused by the __cmp__ method of KeyReferenceToPersistent. Unfortunately I couldn't setup a dedicated environment to reproduce the error within a test :(. The only evidence is this traceback: Traceback

Re: [Zope3-dev] zc.datetimewidget+UTC exception

2006-07-17 Thread Gary Poster
On Jul 17, 2006, at 12:53 PM, Adam Groszer wrote: Hi there, Anybody tried to use the above? For me it raises Module zope.app.form.utility, line 348, in getWidgetsData Module zope.app.form.browser.widget, line 295, in getInputValue Module zc.datetimewidget.datetimewidget, line 123, in

Re: Re[2]: [Zope3-dev] zc.datetimewidget+UTC exception

2006-07-17 Thread Gary Poster
On Jul 17, 2006, at 1:59 PM, Adam Groszer wrote: Hello Gary, Sorry for the confusion, just managed it, the last one should fail. this method normalizes datetime instances by converting them to utc, daylight saving times are also taken into account. This method requires an adapter

Re: [Zope3-dev] Re: SVN: Zope3/branches/3.3/ Fixed issue 525: DateWidget ru-format

2006-06-26 Thread Gary Poster
On Jun 26, 2006, at 5:12 PM, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dmitry Vasiliev wrote: Benji York wrote: ... Why does the display of the default DateTime widget change? DatetimeWidget now use zope.i18n for parse and format values so the display is the same

[Zope3-dev] Re: [Checkins] SVN: Zope3/trunk/src/zope/formlib/ Bugfix zope.formlib

2006-05-25 Thread Gary Poster
On May 25, 2006, at 12:17 PM, Roger Ineichen wrote: ... Looks good to me for 3.3 also. +Note that a EditForm can't make use of a get_rendered method. The get_rendered +method does only set initial values. This sentence got me closer to understanding what you want, at least. Thanks Gary

Re: [Zope3-dev] Zope 3 deprecation in 3.3

2006-05-24 Thread Gary Poster
On May 24, 2006, at 11:56 AM, Jim Fulton wrote: Christian Theune wrote: ... Hooray. Now, all the moves have happened already. Does someone know of a good and reliable way to find all the things we broke? Sure, release 3.3 final and wait for the reports to come in. ;) FWIW, most or all of

Re: [Zope3-dev] time schema field?

2006-05-22 Thread Gary Poster
On May 22, 2006, at 8:47 AM, Rocky Burt wrote: Hi all, I was just curious why zope.schema has fields for datetime.datetime, datetime.date, and datetime.timedelta but no field for datetime.time. I have a need for such a field right now and I think it'd be useful to be core to zope.schema

Re: [Zope3-dev] Formlib error handling

2006-05-18 Thread Gary Poster
On May 17, 2006, at 9:27 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: From: Gary Poster [mailto:[EMAIL PROTECTED] On Apr 22, 2006, at 11:31 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: The formlib.EditForm dosen't catch all errors form widgets. ... I solve the problem and added some

Re: [Zope3-dev] Formlib error handling

2006-05-18 Thread Gary Poster
On May 18, 2006, at 4:12 PM, [EMAIL PROTECTED] wrote: Hi Gary [...] With your change, if the error is (or extends!) Invalid, it is hardcoded to assume the first argument is a string, message, or something with a reasonably __str__, translate if it is a message, and wrap the result with a

Re: [Zope3-dev] Formlib error handling

2006-05-17 Thread Gary Poster
On Apr 22, 2006, at 11:31 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: The formlib.EditForm dosen't catch all errors form widgets. ... Hey Roger. Your email has been sitting open on my computer for weeks, reminding me to reply, and I want to get rid of it. :-) Did you put a

[Zope3-dev] Making a separate project for zope.bforest

2006-05-06 Thread Gary Poster
Hey all. Seems like no-one but ZC has used zope.bforest, and it probably fits better in the a million itsy-bitsy projects story now that we have it (and an accompanying automated test story). Anyone object if I move it out of the trunk? Gary

  1   2   3   4   >