[Zope-dev] Product version number redundancy with version.txt and setup.py

2008-07-07 Thread Tim Hicks
Hi, Am I right in thinking that there is a duplication of information in having an eggified product's version number stored in setup.py and version.txt? Both seem to be necessary - the first for use with pypi and the second so that Zope knows what version of a product it has. The former

[Zope-dev] Resolution of issue #2333 before next maintenance release(s)?

2007-06-25 Thread Tim Hicks
Hi, Apparently a maintenance release for 2.10 is imminent. Would it be possible for someone to review the report for issue #2333 @: http://www.zope.org/Collectors/Zope/2333. The fix provided there comes with a test. If it's deemed suitable, could someone with commit privileges apply the

Re: [Zope-dev] Re: Resolution of issue #2333 before next maintenance release(s)?

2007-06-25 Thread Tim Hicks
Tres Seaver wrote: Tres Seaver wrote: Tim Hicks wrote: Hi, Apparently a maintenance release for 2.10 is imminent. Would it be possible for someone to review the report for issue #2333 @: http://www.zope.org/Collectors/Zope/2333. The fix provided there comes with a test. If it's deemed

Re: [Zope-dev] local namespace optimizations?

2006-07-05 Thread Tim Hicks
Florent Guillaume wrote: Is anyone opposed to me removing the stupid: _getattr = getattr _none = None marker = _marker local namespace optimizations that are found in unrestrictedTraverse? I find these things rather confusing when looking at zope core code, and always

Re: [Zope-dev] Re: Wishlist Item

2006-03-26 Thread Tim Hicks
Tino Wildenhain wrote: Maybe its just me but I personally dont like direct filesystem access in the core - if someone wants it, (s)he can pick from the 3rd party products - maybe there can be a list of recommended (active maintained) products? Direct access products should also carry some

Re: [Zope-dev] Make objectValues return a generator?

2005-08-04 Thread Tim Hicks
Petri Savolainen wrote: Am I right in assuming that calls to objectValues etc. still return a real sequence of objects loaded in memory from ZODB? How about making object* calls return a generator instead? Has this been discussed somewhere already? I tried a bit of googling list-searching but

[Zope-dev] 2.8.0b1 issues with plone 2.0.5

2005-04-24 Thread Tim Hicks
Apologies if this is already known about... I just installed 2.8.0b1 (using python 2.3.5), fired it up, then tried to add a 'plone site' (2.0.5). The plone site actually did get added, but here's what I got as well: 2005-04-24 12:57:32 ERROR Zope.ZCatalog Recataloging object at

Re: [Zope-dev] 2.8.0b1 issues with plone 2.0.5

2005-04-24 Thread Tim Hicks
Tim Hicks said: File /home/tim/zope/2.8.0b1/lib/python/ZPublisher/Publish.py, line 40, in call_object result=apply(object,args) # Type scr to step into published object. File /home/tim/zope/2.7.4b2/Products/CMFCore/PortalContent.py, line 116, in __call__ return view() Eek

Re: [Zope-dev] Re: CookieCrumbler and User-Logging

2005-02-08 Thread Tim Hicks
Tres Seaver said: I am attaching the patch which Casey Duncan worked up to log the cookie-based user somewhat more cleanly. Hi Tres, I'm just wondering what the status of this patch is. I mean, is it now part of any (forthcoming) release of cookiecrumbler or CMF? Does it have any downsides?

Re: [Zope-dev] Re: CookieCrumbler and User-Logging

2005-02-08 Thread Tim Hicks
Tres Seaver said: | Does it have any downsides? I can't recall whether the patch includes a knob to turn off the logging behavior. If not, I would want to add one before checking it in. It does have that knob. | Would you install it on a production server? We have done so for some

[Zope-dev] 2.7 and 2.8 roadmap

2004-12-17 Thread Tim Hicks
Hi, just wondering what the plans are for zope 2.7 and 2.8. Specifically: 1) When is the recent release of 2.7.4b2 expected to be followed up with a 'final' (or indeed another beta) release? 2) I have seen mutterings about a 2.7.5 release, but I'm not sure why this should be necessary as I

Re: [Zope-dev] 2.7 and 2.8 roadmap

2004-12-17 Thread Tim Hicks
Andreas Jung said: 1) When is the recent release of 2.7.4b2 expected to be followed up with a 'final' (or indeed another beta) release? 2.7.4 final is scheduled for early January. Ok, thanks. 2) I have seen mutterings about a 2.7.5 release, but I'm not sure why this should be

Re: [Zope-dev] connecting server code to the ZODB

2004-11-14 Thread Tim Hicks
Replying to myself in case anyone is interested in the answer to my problems... Tim Hicks said: Nope, I don't have a reference to a persistent object. I'm looking at the code in smtpserver.SMTPServer and trying to figure out what I need to adjust. As far as I can tell, the only point

Re: [Zope-dev] connecting server code to the ZODB

2004-11-10 Thread Tim Hicks
Paul Winkler said: Ok, so I could simply drop the Zope.startup() line and things would be fine (and quick), right? I haven't tried it, but I think doing Zope.app() will try to acquire a lock on the database and it is already locked by the running Zope (or ZEO). So I don't think you can do

Re: [Zope-dev] connecting server code to the ZODB

2004-11-08 Thread Tim Hicks
Paul Winkler said: What I really want to be able to do from the server code is something like:: root = magic_that_gets_me_zodb_root() That magic is basically (from memory): import Zope Zope.startup() root = Zope.app() But note that starting up a zope is slow, so you don't

[Zope-dev] connecting server code to the ZODB

2004-10-28 Thread Tim Hicks
Hi, I'm trying to figure out how to adjust Nikolay Kim's smtpserver code http://cvs.sourceforge.net/viewcvs.py/collective/smtpserver/ so that objects within the ZODB can affect the way that messages are received (i.e. veto messages based on certain criteria in the first instance). My problem is

[Zope-dev] Bug in ExternalMethods?

2002-12-19 Thread Tim Hicks
I think I've found a bug in ExternalMethod, but I don't know if it's already been fixed or not. Basically, the call signature of ExternalMethods seems to get mixed up sometimes. I'm running Zope 2.5.1 on Linux. Here's a small demonstration of the bug: --test.py-- def test(self, a_string,

[Zope-dev] bug in mapply.py?

2002-11-05 Thread Tim Hicks
Hi all, I've been trying to track down the problem outlined here *: http://zope.nipltd.com/public/lists/zope-archive.nsf/ByKey/B9323F6D666D3D5C I got a traceback (see below), that indicates that the problem occurs when mapply.py inspects my method. I must admit to not understanding why this

Re: [Zope-dev] bug in mapply.py?

2002-11-05 Thread Tim Hicks
Thanks for the reply Steve, Steve Alexander said: I must admit to not understanding why this should only break over xmlrpc and not directly from Zope. The problem appears to be that my method is defined something like: def method(self, *args, **kw) mapply doesn't put things into **kw

Re: [Zope-dev] Zope 2.6 planning - call for contributors!

2002-03-05 Thread Tim Hicks
See below This isn't exciting by any means unless you're one of the people who package Zope up for distribution, or maybe you're one of the people who manage lots of little Zopes on one system; but I'd like to revive the grand unified Zope installation and control proposal that has been