[Zope-dev] Re: CatalogBrains.getObject and unrestricted code

2004-11-29 Thread Casey Duncan
In article [EMAIL PROTECTED], Florent Guillaume [EMAIL PROTECTED] wrote: In ZCatalog's brains, getObject currently does a restrictedTraverse to get the object. That's a problem for unrestricted code that needs to get to the object nevertheless, even if the user cannot get to it. For

[Zope-dev] Re: Running Zope tests in 2.7 fails

2004-08-20 Thread Casey Duncan
IIRC this is caused by having a Python compiled without UCS4 support. Some pre-built pythons that come with certain Linux distros (RedHat is one I think) are built with different unicode support then the default. I would suggest building your own python from source and trying it with that

[Zope-dev] Re: Referencial Integrity in ZCatalogs

2004-08-02 Thread Casey Duncan
You should be able to access it now anonymously. -Casey On Mon, 02 Aug 2004 17:07:30 -0300 Leonardo Rochael Almeida [EMAIL PROTECTED] wrote: Forgot to Cc: zope-dev -Mensagem encaminhada- From: Leonardo Rochael Almeida [EMAIL PROTECTED] To: Santi Camps [EMAIL PROTECTED] Subject:

[Zope-dev] Re: any limits on object number?

2004-07-14 Thread Casey Duncan
On Wed, 14 Jul 2004 13:46:57 +0530 Nagarjuna G. [EMAIL PROTECTED] wrote: We are builiding a large portal using Zope. We need to create a large number of objects. The data component of the objects is small, but each object carries lots of metadata. My question is: Is there any limit on the

[Zope-dev] Re: hasattr geddon

2004-07-09 Thread Casey Duncan
On Fri, 9 Jul 2004 16:22:17 +0200 Dieter Maurer [EMAIL PROTECTED] wrote: [..] The hasattr replacement in Python's __builtin__ could look like: _marker = [] def hasattr(obj, attr): return getattr(obj, attr, _marker) is not _marker Opinions? +1 Another advantage to a

[Zope-dev] Re: AccessControl Problems on Mac OSX

2004-07-08 Thread Casey Duncan
It looks like this bug was closed due to lack of feedback from the original poster. I would suggest opening a new collector issue and reference that one if you think it is the same issue (it certainly appears to be on the surface). The collector issue would stand a much better chance of being

[Zope-dev] Re: CatalogBrains since Zope2.7.1b1

2004-06-25 Thread Casey Duncan
. But with a Zope2.7.0 my object is correctly find and returned. The permissions are right. Em Qua, 2004-06-16 às 11:28, Casey Duncan escreveu: getObject was refactored recently and its security was increased. It uses restrictedTraverse() now, which means that you need access to all of the enclosing

[Zope-dev] Re: CatalogBrains since Zope2.7.1b1

2004-06-25 Thread Casey Duncan
On Thu, 24 Jun 2004 19:04:55 +0200 Dieter Maurer [EMAIL PROTECTED] wrote: Casey Duncan wrote at 2004-6-18 09:58 -0400: ... Security was tightened for getObject recently as part of a general refactor of that code. I am happy to consider whether the security is too tight, in which case

[Zope-dev] Re: CatalogBrains since Zope2.7.1b1

2004-06-25 Thread Casey Duncan
On Thu, 24 Jun 2004 09:59:30 + Santi Camps [EMAIL PROTECTED] wrote: Security was tightened for getObject recently as part of a general refactor of that code. I am happy to consider whether the security is too tight, in which case it could be backed off a bit. Previously

[Zope-dev] Re: zope-dev list policies

2004-06-25 Thread Casey Duncan
On Fri, 25 Jun 2004 10:06:21 +0200 Godefroid Chapelle [EMAIL PROTECTED] wrote: [..] I am administring plone-i18n mailing list. Non members cannot post. I always post through gmane and my messages get accepted ! As long as posting from Gmane still works, then I'm fine with restricting postings

Re: [Zope-dev] Re: CatalogBrains since Zope2.7.1b1

2004-06-25 Thread Casey Duncan
On Fri, 25 Jun 2004 20:26:30 +0200 Dieter Maurer [EMAIL PROTECTED] wrote: Casey Duncan wrote at 2004-6-25 09:36 -0400: On Thu, 24 Jun 2004 19:04:55 +0200 Dieter Maurer [EMAIL PROTECTED] wrote: ... I think, you should only require access rights to the object itself and not to all folders

[Zope-dev] Re: zope-dev list policies

2004-06-24 Thread Casey Duncan
-1 on changing the list policy. I read and post to all of the public lists through Gmane, which won't work if the policy is changed. I rarely see spam get through list either (unless Gmane is filtering it all out for me), so I fail to see the problem from that point of view. -Casey On Wed, 16

[Zope-dev] Re: Prohibiting Spams on the List

2004-06-23 Thread Casey Duncan
On Tue, 15 Jun 2004 20:41:16 -0400 Tim Peters [EMAIL PROTECTED] wrote: [Mohsen Moeeni] Fristly excuse me for cross-posting. Actually, I did not like to be the person who comes this up however the amount of spams which is propagated thru the lists is annoying. I wonder why the guys at Zope

[Zope-dev] Re: CatalogBrains since Zope2.7.1b1

2004-06-20 Thread Casey Duncan
On Fri, 18 Jun 2004 07:13:15 +0200 Andreas Jung [EMAIL PROTECTED] wrote: --On Donnerstag, 17. Juni 2004 11:32 Uhr +0200 Eric Brun [EMAIL PROTECTED] wrote: My object really exist and I check the getPath path : it's a correct path. When I use CatalogBrains.py of Zope2.7.0 on a

[Zope-dev] Re: CatalogBrains since Zope2.7.1b1

2004-06-19 Thread Casey Duncan
getObject was refactored recently and its security was increased. It uses restrictedTraverse() now, which means that you need access to all of the enclosing folders as well as the object. Before, no security checking was performed by getObject. I suspect you do not have access to one of the

[Zope-dev] Re: Bad idiom to access optional attributes

2004-06-07 Thread Casey Duncan
On Mon, 7 Jun 2004 07:46:41 +0200 Dieter Maurer [EMAIL PROTECTED] wrote: [..] Meanwhile, the best way to access optional attributes seems to be if getattr(aq_base(obj), attrname, notFound) is not notFound: attr = getattr(obj, attrname) ... Ahhh, the miracle of

[Zope-dev] Re: {Spam?} Re: [Zope3-dev] Re: RFC: TALES adapters and TAL/Tales variable namespaces

2004-05-24 Thread Casey Duncan
On Mon, 24 May 2004 17:25:19 +0300 Steve Alexander [EMAIL PROTECTED] wrote: Of course, Steve suggested: ob:adaptername context:dc/title This really doesn't make sense. To me it reads In the namespace of context get the title of dublin core. I'm not reading : as having

[Zope-dev] Re: Zope Bug Day - Friday 28th May?

2004-05-21 Thread Casey Duncan
On Fri, 21 May 2004 19:57:08 +0100 Chris Withers [EMAIL PROTECTED] wrote: Hi People, I offered to schedule and organise the Zope bug days for the last Friday of each month, and the first one of those is looming. Do people have any objections to Friday 28th May as a bug day? If I hear

Re: [Zope-dev] Re: Zope Bug Day - Friday 28th May?

2004-05-21 Thread Casey Duncan
On Fri, 21 May 2004 21:27:02 +0200 Andreas Jung [EMAIL PROTECTED] wrote: --On Freitag, 21. Mai 2004 15:19 Uhr -0400 Casey Duncan [EMAIL PROTECTED] wrote: On Fri, 21 May 2004 19:57:08 +0100 Chris Withers [EMAIL PROTECTED] wrote: Hi People, I offered to schedule and organise

[Zope-dev] Re: [ZODB-Dev] Re: BTrees strangeness (was Zope 2.X BIG Session problems - blocker - our site dies - need help of experience Zope developer, please)

2004-05-17 Thread Casey Duncan
On Mon, 17 May 2004 19:00:16 +0200 Dieter Maurer [EMAIL PROTECTED] wrote: Chris McDonough wrote at 2004-5-15 13:04 -0400: ... Dieter, do you think you can read this patch and give a thumbs up or down on it? The patch looks good. On a different subject, the publisher probably shouldn't

[Zope-dev] Re: Dis-allow anonymous bug posting?

2004-05-10 Thread Casey Duncan
On Mon, 10 May 2004 13:21:26 +0100 Chris Withers [EMAIL PROTECTED] wrote: Casey Duncan wrote: No, some very valuable bugs are submitted anonymously. People can be very paranoid (rightly) about their privacy. We do want to encourage bug submissions even if that means more noise. So

[Zope-dev] Re: Dis-allow anonymous bug posting?

2004-05-07 Thread Casey Duncan
On Fri, 07 May 2004 09:56:45 +0100 Chris Withers [EMAIL PROTECTED] wrote: Tim Peters wrote: While that *should* be a good example, it isn't: I only knew that bug existed because someone closed it on Bug Day (and I'm subscribed to the Collectors, and read the email they generate).

[Zope-dev] Re: XML-RPC incorrect 404 return code

2004-05-07 Thread Casey Duncan
On Thu, 6 May 2004 22:30:49 -0500 [EMAIL PROTECTED] wrote: I reported this a few month ago with a patch and was told that it'll be applied 'soon': http://collector.zope.org/Zope/1175 Who told you that? I see no comment on that issue. IMHO the xml-rpc error handling is a mess. You can't

Re: [Zope-dev] Bug day report

2004-05-06 Thread Casey Duncan
On Thu, 6 May 2004 10:45:03 -0400 Tim Peters [EMAIL PROTECTED] wrote: [..] On the Python bug tracker, I don't close vague bug reports instantly. Instead I add a note, saying that unless more information is added, the bug will be closed a month later. It's rare that more info gets added then,

[Zope-dev] Re: [Collector] Strange reject policy

2004-05-06 Thread Casey Duncan
On Thu, 06 May 2004 12:09:18 -0300 Leonardo Rochael Almeida [EMAIL PROTECTED] wrote: On Thu, 2004-05-06 at 11:56, Lennart Regebro wrote: From: Ken Manheimer [EMAIL PROTECTED] All the actions are verbs, won't fix is not a verb. Can you suggest a verb the more clearly indicates the result

[Zope-dev] Re: [Collector] Strange reject policy

2004-04-30 Thread Casey Duncan
In retrospect I probably should have just marked it as deferred rather than rejected, the idea was more to provoke action (which I did) then to reject it as not-a-bug. -Casey On Fri, 30 Apr 2004 17:54:58 +0200 Dieter Maurer [EMAIL PROTECTED] wrote: I got a reject message for

[Zope-dev] Re: [Collector] Strange reject policy

2004-04-30 Thread Casey Duncan
On Fri, 30 Apr 2004 13:46:26 -0400 Chris McDonough [EMAIL PROTECTED] wrote: On Fri, 2004-04-30 at 13:43, Casey Duncan wrote: In retrospect I probably should have just marked it as deferred rather than rejected, the idea was more to provoke action (which I did) then to reject

Re: [Zope-dev] Bug day report

2004-04-30 Thread Casey Duncan
On Fri, 30 Apr 2004 20:14:30 +0200 Dieter Maurer [EMAIL PROTECTED] wrote: Casey Duncan wrote at 2004-4-29 22:19 -0400: I'm happy to report a successful bug day with a final tally of almost 40 issues closed. The specific issues we squashed were: #28,#181,#321,#340,#349,#439,#444,#495,#511

[Zope-dev] Bug day!

2004-04-29 Thread Casey Duncan
Just a reminder that bug day is on today. Meet us over on the #zope-dev channel of irc.zope.org if you can! -Casey ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! **

[Zope-dev] Bug day report

2004-04-29 Thread Casey Duncan
I'm happy to report a successful bug day with a final tally of almost 40 issues closed. The specific issues we squashed were: #28,#181,#321,#340,#349,#439,#444,#495,#511,#532,#540,#543, #544,#545,#546,#553,#562,#574,#584,#602,#637,#644,#654,#658,#666,

[Zope-dev] Zope Bug Day Next Thursday (April 29)

2004-04-22 Thread Casey Duncan
I proposed this yesterday, but I wanted to make sure that everyone say it. I think we should have a bug day, we're long overdue. I'm proposing we hold it on Thursday, April 29. We'll convene on the #zope-dev irc channel. -Casey ___ Zope-Dev maillist

[Zope-dev] Re: The bleak Future of Zope?

2004-04-21 Thread Casey Duncan
On Wed, 21 Apr 2004 11:36:31 +0200 Andreas Jung [EMAIL PROTECTED] wrote: Some remarks from my side as a Zope2 core developer on this issue: The Z2 community and development is currently at a bad point: - very few people are contributing to the Z2 in terms of new code and bug fixes

[Zope-dev] Re: Zope Book, was Re: The bleak Future of Zope?

2004-04-21 Thread Casey Duncan
On Wed, 21 Apr 2004 13:10:51 -0400 Chris McDonough [EMAIL PROTECTED] wrote: On Wed, 2004-04-21 at 10:18, Peter Sabaini wrote: That being said, I wonder if there are people interested to make an effort for a 2.7 Edition of the Zope book? I am. I think Paul is too. It won't be nearly as

[Zope-dev] Re: The bleak Future of Zope?

2004-04-21 Thread Casey Duncan
On Wed, 21 Apr 2004 20:36:29 +0200 Andreas Jung [EMAIL PROTECTED] wrote: --On Mittwoch, 21. April 2004 10:41 Uhr -0400 Casey Duncan [EMAIL PROTECTED] wrote: On a bright note, I think zopewiki.org could change that. It *greatly* lowers the bar on contributing substantive docs for Zope

[Zope-dev] Re: Patch for CMFActionIcons: make edit work if icon expr is empty

2004-04-20 Thread Casey Duncan
On Tue, 20 Apr 2004 13:03:32 +0200 Joachim Bauch [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, as it's possible to create an action icon with an empty icon expression, but this action icon can never be edited again (a KeyError is raised), I propose the

[Zope-dev] Re: I want to fix App.Management.Tabs.manage_workspace

2004-04-19 Thread Casey Duncan
On Mon, 19 Apr 2004 10:16:08 +0100 Chris Withers [EMAIL PROTECTED] wrote: Hi there, App.Management.Tabs.manage_workspace sucks as I've described in http://zope.org/Collectors/Zope/1286: 1. manage_workspace is only protected by the Authenticated role, and that is done directly, not even

[Zope-dev] Re: RFC: A proposal for ZODB schema migration in Zope 3

2004-04-19 Thread Casey Duncan
On Sat, 17 Apr 2004 08:14:35 -0400 Jim Fulton [EMAIL PROTECTED] wrote: I've posted a proposal: http://dev.zope.org/Zope3/DatabaseGenerations for a framework for managing the migration of application/database schemas in ZODB databases in an orderly manner. The proposal is to apply

[Zope-dev] Re: Zope + Ape + Subversion (was: RE: Using a truely revis ion based storage for Zope ?)

2004-04-16 Thread Casey Duncan
On Thu, 15 Apr 2004 20:40:09 -0400 (EDT) Shane Hathaway [EMAIL PROTECTED] wrote: On Wed, 14 Apr 2004, Kapil Thangavelu wrote: although i wonder if there is some hand waving in progress here that i can't see. i guess my semantic notion of versions has been that of long lived transactions,

[Zope-dev] Re: Zope + Ape + Subversion (was: RE: Using a truely revis ion based storage for Zope ?)

2004-04-14 Thread Casey Duncan
On Wed, 14 Apr 2004 06:59:05 -0400 Kapil Thangavelu [EMAIL PROTECTED] wrote: On Tue, 2004-04-13 at 12:01, Shane Hathaway wrote: On Tue, 13 Apr 2004, Kapil Thangavelu wrote: since objects modified in a version are in essence locked from participating in other transactions, actions

[Zope-dev] Re: Zope + Ape + Subversion (was: RE: Using a truely revis ion based storage for Zope ?)

2004-04-14 Thread Casey Duncan
On Wed, 14 Apr 2004 09:50:17 -0400 Casey Duncan [EMAIL PROTECTED] wrote: [..] In practical terms this would mean that the versioned catalog would need to keep track of the uids that had been cataloged, uncataloged and reindexed in the version. The merge would mean cataloging, uncataloging

[Zope-dev] Re: Zope and zope

2004-04-14 Thread Casey Duncan
+1 this is a problem. The question is whether curing it is *more* of a problem. -Casey On Wed, 14 Apr 2004 09:00:26 -0400 Jim Fulton [EMAIL PROTECTED] wrote: Jim Fulton wrote: Zope 2 has a package named Zope. Zope 3 has a package named zope. Starting with Zope 2.8, parts of Zope 3 will

[Zope-dev] Re: circular referenced persistent objects

2004-04-12 Thread Casey Duncan
On Sat, 10 Apr 2004 14:11:56 -0500 [EMAIL PROTECTED] wrote: I have the following setup (unrelated lines are omitted): class Deliverer(Folder): def manage_afterAdd(self, item, container): if item is self: self.__ac_local_roles__ = dr_localroles(self) class

Re: [Zope-dev] Re: circular referenced persistent objects

2004-04-12 Thread Casey Duncan
On Mon, 12 Apr 2004 10:57:43 -0500 [EMAIL PROTECTED] wrote: Casey, Thanks for the clarification. - Is there an equivalent of sys.getrefcount for ZODB persistent objects? This is still a question. Is there any way, to determine how many times a zodb persistent object is

[Zope-dev] Re: Unique ID generation with ZODB.

2004-04-06 Thread Casey Duncan
On 05 Apr 2004 14:18:25 +0200 Syver Enstad [EMAIL PROTECTED] wrote: How does one implement a unique id generator in ZODB. The id's should be strictyl ascending and be a an int. Would opening a temporary connection increment a persistent counter and commit do the trick? Why does it need to

[Zope-dev] Re: Proposal: Sanitize HelpSys API Reference, was Re: Reasons for the current API reference docs implementation?

2004-04-05 Thread Casey Duncan
On Sun, 4 Apr 2004 17:50:13 -0400 Paul Winkler [EMAIL PROTECTED] wrote: I've posted my proposal: http://dev.zope.org/Wikis/DevSite/Proposals/SanitizeHelpSysAndAPIReference I am 100% for this proposal and I have been thinking on and off about the same thing for years. I agree that we need to

[Zope-dev] Re: Proposal: Sanitize HelpSys API Reference, was Re: Reasons for the current API reference docs implementation?

2004-04-05 Thread Casey Duncan
On Mon, 5 Apr 2004 11:00:59 -0400 Paul Winkler [EMAIL PROTECTED] wrote: On Mon, Apr 05, 2004 at 09:44:30AM -0400, Casey Duncan wrote: On Sun, 4 Apr 2004 17:50:13 -0400 Paul Winkler [EMAIL PROTECTED] wrote: I've posted my proposal: http://dev.zope.org/Wikis/DevSite/Proposals

[Zope-dev] Re: [ZODB-Dev] Re: BTrees strangeness (was Zope 2.X BIG Session problems - blocker - our site dies - need help of experience Zope developer, please)

2004-03-10 Thread Casey Duncan
On Wed, 10 Mar 2004 17:50:41 -0500 Chris McDonough [EMAIL PROTECTED] wrote: Nevermind. http://zope.org/Collectors/Zope/789 and http://zope.org/Collectors/Zope/786 The bug neglector is really living up to its name lately (not pointing fingers, mea culpa). 'Bout time fer a bug day I

[Zope-dev] Re: Folderish object's __call__ fails

2004-03-04 Thread Casey Duncan
On Thu, 4 Mar 2004 13:03:20 -0800 (PST) Dirksen [EMAIL PROTECTED] wrote: Hi, I'm developing a product, which extends ObjectManager. Meanwhile, I'd like it to behave like a script object, similar to DTML method. So I define a __call__ method. But it never gets run if called from the

[Zope-dev] Re: server for new protocol?

2004-03-01 Thread Casey Duncan
On Mon, 1 Mar 2004 10:09:36 -0500 Fred Drake [EMAIL PROTECTED] wrote: On Sunday 29 February 2004 11:21 pm, Nikolay Kim wrote: P.S. i'm developing smtp server for zope and already have working code. Ooh! This is really cool. Will this be open source? I'll be a lot of people will be

[Zope-dev] Re: Usability tweaks

2004-03-01 Thread Casey Duncan
On Mon, 01 Mar 2004 20:25:54 + Christian Theune [EMAIL PROTECTED] wrote: Hi, as I'm tweaking stuff here and there right now, I stumbled over the findSupport dtml that has a multiple select menu with a height of 4. It's almost impossible to find what you look for easily. Increasing the

[Zope-dev] Re: Maybe Corrupted ZCatalog but ...

2004-02-27 Thread Casey Duncan
On Fri, 27 Feb 2004 16:47:19 +0100 Eric Brun [EMAIL PROTECTED] wrote: Yes but impossible to update it because it is too big, and the transaction never finish or abort because of time out. I don't know how to do this. Have you a idea for help me ? You might try using another browser

[Zope-dev] Re: Zope 2.7 and objects turning into None

2004-02-22 Thread Casey Duncan
On Fri, 20 Feb 2004 22:18:33 +0100 Dieter Maurer [EMAIL PROTECTED] wrote: Casey Duncan wrote at 2004-2-20 10:53 -0500: ... This is a guess, but perhaps the Catalog is masking some other low-level error and returning None instead? I'll see if that seems possible from the code. Some time

[Zope-dev] Re: Zope 2.7 and objects turning into None

2004-02-20 Thread Casey Duncan
On Fri, 20 Feb 2004 09:47:47 +1100 Richard Jones [EMAIL PROTECTED] wrote: On Friday 20 February 2004 05:52, Dieter Maurer wrote: We have a report for Zope 2.7 about an object magically turning into None (1 or 2 weeks ago). Sorry, I haven't been following this thread, but I will note that

[Zope-dev] Re: Image ranges

2004-02-19 Thread Casey Duncan
On Thu, 19 Feb 2004 14:55:08 +0100 Florent Guillaume [EMAIL PROTECTED] wrote: Is there a reason why OFS.Image.Image does not __implement__ HTTPRangeInterface like OFS.Image.File does ? As far as I can see there's no reason it shouldn't, as their index_html method (and HEAD inherited from

Re: [Zope-dev] Strange loop with ZCatalog

2004-02-13 Thread Casey Duncan
I already replied to this, but I never heard back from you. What does the following return for a value: len(list(context.TheCatalog.searchResults(Type='TypeTest'))) ?? -Casey On Fri, 13 Feb 2004 13:01:35 +0100 Pascal Samuzeau [EMAIL PROTECTED] wrote: Hi,

Re: [Zope-dev] Strange loop with ZCatalog

2004-02-13 Thread Casey Duncan
On Fri, 13 Feb 2004 16:14:05 +0100 Pascal Samuzeau [EMAIL PROTECTED] wrote: Hi, I

Re: [Zope-dev] Strange loop with ZCatalog

2004-02-13 Thread Casey Duncan
On Fri, 13 Feb 2004 19:10:07 +0100 Pascal Samuzeau [EMAIL PROTECTED] wrote: Hi Casey, Yes it doesn't lie at all, but i've tried till I suppress all and even with

Re: [Zope-dev] How to make Zope fail nicely under high load?

2004-02-11 Thread Casey Duncan
On Wed, 11 Feb 2004 20:25:14 +0800 Bjorn Stabell [EMAIL PROTECTED] wrote: Toby wrote: [...] Zope's ZServer manages a queue of requests that have been recieved over http, but not dispatched to the publisher. This is handled in PubCore/ZRendezvous.py. I suspect this queue will be

Re: [Zope-dev] Adapters in Zope 2

2004-02-10 Thread Casey Duncan
On Mon, 09 Feb 2004 21:48:29 +0100 Santi Camps [EMAIL PROTECTED] wrote: Hi all, I know that adaptors are introduced in zope3 but, anybody knows if this technique can be used in zope2 ? Adapters are a general pattern. Zope 3 has infrastructure (component architecture and ZCML) that automates

Re: [Zope-dev] Re: Adapters in Zope 2

2004-02-10 Thread Casey Duncan
On Tue, 10 Feb 2004 15:26:00 +0100 Michael Haubenwallner [EMAIL PROTECTED] wrote: Casey Duncan wrote: Zope2 folders are designed for this. They are really just blank objects where you can specify your own methods in instance space. Traditionally in Zope2, there are two ways to do

Re: [Zope-dev] Re: Adapters in Zope 2

2004-02-10 Thread Casey Duncan
On Tue, 10 Feb 2004 17:34:39 +0100 Santi Camps [EMAIL PROTECTED] wrote: [..] Very interesting. That's what I was looking for. I will try to extract this mechanism from CMF. See: http://www.plope.com/Members/chrism/standalone_skins 8^) -Casey ___

Re: FW: [Zope-dev] strange behavior of VirtualHostMonster

2004-02-05 Thread Casey Duncan
On Wed, 4 Feb 2004 22:50:27 -0600 [EMAIL PROTECTED] wrote: Okay, I debugged a bit more: [u'loginUser', u'usermgrFolder', '/', 'VHM'] = this looks weird to me It seems it's pretty okay, however the last line in VirtualHostMonster.__bobo_traverse__ says: return parents.pop() # He'll get

Re: [Zope-dev] Re: Call for testing (2.6.4 / 2.7.0)

2004-01-28 Thread Casey Duncan
On Wed, 28 Jan 2004 13:36:31 +0100 yuppie [EMAIL PROTECTED] wrote: Hi! Brian Lloyd wrote: In the meantime, it would be helpful for anyone who runs from the 2.6 or 2.7 branches in CVS to update and let us know if you have any unresolved problems. Right now I have no time to track

Re: [Zope-dev] About Zope Security (was: Zope - SecurityFocus Newsletter #232)

2004-01-23 Thread Casey Duncan
On Fri, 23 Jan 2004 12:17:38 +0100 Dario Lopez-Kästen [EMAIL PROTECTED] wrote: Chris Withers wrote: Hi, Can anyone shed light on all of these? I know about some of them, but this is quite a disturbingly long list... What is the current status of these issues? I am running a rather

Re: [Zope-dev] Re: Resolved security-related collector issues for the public?

2004-01-21 Thread Casey Duncan
On Wed, 21 Jan 2004 16:16:15 -0800 Jamie Heilman [EMAIL PROTECTED] wrote: Maik Jablonski wrote: There are many admins / users out there who aren't able to do this (maybe they should learn it, but that's another point). Installing Zope 2.6.3 was a big mess (even renaming in the ZMI was

Re: [Zope-dev] Re: [Zope3-dev] ZConfig: Keytype and section type extension

2003-12-29 Thread Casey Duncan
On Mon, 29 Dec 2003 15:48:03 -0500 Fred L. Drake, Jr. [EMAIL PROTECTED] wrote: Phillip J. Eby writes: [snip] (The issue here is that Python requires keyword arguments to be strings rather than Unicode, even though attribute names can be Unicode. ZConfig sets attributes using unicode

Re: [Zope-dev] bizarre slicing behaviour in Zope

2003-12-17 Thread Casey Duncan
On Wed, 17 Dec 2003 15:30:50 -0500 Gerry Kirk [EMAIL PROTECTED] wrote: try this in a script in zope 2.7b3 (maybe others, too) if you want to go crazy: dd = ('dd', 'diocese', 'Parish.2003-12-16.8636751973', 'bob', 'Workspace.2003-12-17.8140751750','gerry.2003-12-17.8140751750') return

Re: [Zope-dev] Re: On with the show....

2003-12-15 Thread Casey Duncan
On Mon, 15 Dec 2003 10:02:58 -0600 Evan Simpson [EMAIL PROTECTED] wrote: Sidnei da Silva wrote: If you look at FSPageTemplate, its obvious that it doesn't subclass ZopePageTemplate, but the solution is not so obvious. Using: pt_getContext = ZopePageTemplate.pt_getContext.im_func

Re: [Zope-dev] virtual hosting variables [was: Re: Zope 2.7.0 b3 regressions]

2003-12-03 Thread Casey Duncan
On Wed, 03 Dec 2003 20:43:23 +0100 Yuppie [EMAIL PROTECTED] wrote: [snip] So I think it would be great if VHM would add a variable like 'REQUESTED_URL' (should have a better name) that isn't further modified on traversal. 'http://example.org/test/path/to/object' +1 I actually had a case

Re: [Zope-dev] Re: New-style ExtensionClasses (Zope 2.8) -- MRO issue

2003-11-24 Thread Casey Duncan
On Mon, 24 Nov 2003 14:06:07 -0500 Jeremy Hylton [EMAIL PROTECTED] wrote: [snip] Then programmers will be able to understand the code :-). Very interesting conclusion... I might argue that it would be a premature optimization however ;^) -Casey

Re: [Zope-dev] __before_publishing_traverse__problem

2003-11-21 Thread Casey Duncan
On Fri, 21 Nov 2003 17:33:43 +0100 lukasz [EMAIL PROTECTED] wrote: I have a problem.When I import my plone site from one server to other I got : AttributeError: __before_publishing_traverse__ What should I do with that? Post it to the *Plone* mailing list? -Casey

Re: [Zope-dev] Zope 2.7 b3 problem with reindexing catalog

2003-11-19 Thread Casey Duncan
On Wed, 19 Nov 2003 17:15:13 +0100 robert [EMAIL PROTECTED] wrote: If I try to reindex a (plone) portal_catalog I get the following error Traceback (innermost last): * Module ZPublisher.Publish, line 100, in publish * Module ZPublisher.mapply, line 88, in mapply * Module

Re: [Zope-dev] Structured text img html tag not working properly in Zope 2.61

2003-11-12 Thread Casey Duncan
On Wed, 12 Nov 2003 20:43:51 +0100 Max M [EMAIL PROTECTED] wrote: I have a site with lots of structured text. There are many img src='/some/image' tags in the texts. But after upgrading from Zope 2.51 to Zope 2.61, I get broken images all over the place. Example:: img

Re: [Zope-dev] Structured text img html tag not working properly

2003-11-12 Thread Casey Duncan
On Wed, 12 Nov 2003 21:52:55 +0100 Max M [EMAIL PROTECTED] wrote: Ay, that sucks. Customers have been using it for 2-3 years now. And they have many many documents. I could write a converter, for converting it into the new image tag, but that would suck too. You could maybe try

Re: [Zope-dev] Zope 2.7 beta 3

2003-11-10 Thread Casey Duncan
On Mon, 10 Nov 2003 10:27:10 +0100 robert [EMAIL PROTECTED] wrote: Hi there, there was talk about a 2.7 b3. I would like to test it out. We are going do deploy a new server by end of this month and I would like to have it running 2.7 (reckless I know, but that is how I am) Obi-wan would

Re: [Zope-dev] KeywordIndex performance / multiunion

2003-11-07 Thread Casey Duncan
On Fri, 07 Nov 2003 12:02:07 + Seb Bacon [EMAIL PROTECTED] wrote: Casey Duncan wrote: On Thu, 06 Nov 2003 19:11:55 + Seb Bacon [EMAIL PROTECTED] wrote: A simple query for [A or B or C] against a KeywordIndex containing 27k objects is taking about 7 seconds on a Celeron 1.6Ghz

Re: [Zope-dev] CookieCrumbler and WebDAV

2003-11-06 Thread Casey Duncan
On Thu, 06 Nov 2003 14:38:03 +0100 Lennart Regebro [EMAIL PROTECTED] wrote: CookieCrumbler doesn't seem to allow cookie authenticifation over WebDAV. It stops authentication if the request is not PUT, GET or POST and also it stops anything over the webdav source port. Anybody knows WHY?

Re: [Zope-dev] KeywordIndex performance / multiunion

2003-11-06 Thread Casey Duncan
On Thu, 06 Nov 2003 19:11:55 + Seb Bacon [EMAIL PROTECTED] wrote: A simple query for [A or B or C] against a KeywordIndex containing 27k objects is taking about 7 seconds on a Celeron 1.6Ghz, which seems an absurdly long time to me. guess This time may be caused by fetching from the

Re: [Zope-dev] _p_deactivate() and _v_ variables?

2003-10-15 Thread Casey Duncan
Seb Bacon wrote: Chris Withers wrote: Casey Duncan wrote: I would argue that a better plan would be to only use _v_ vars for completely disposable data only. The application should expect that this values will be gone at any random time, not just at transaction boundaries. Agreed

Re: [Zope-dev] _p_deactivate() and _v_ variables?

2003-10-15 Thread Casey Duncan
Toby Dickenson wrote: On Wednesday 15 October 2003 14:53, Casey Duncan wrote: Agreed. Are there any situations, apart from the already discussed CMF skindata, where this currently isn't the case? I'm a bit puzzled - of what use is a variable which may disappear at any random time

Re: [Zope-dev] _p_deactivate() and _v_ variables?

2003-10-10 Thread Casey Duncan
Toby Dickenson wrote: On Thursday 09 October 2003 14:01, Florent Guillaume wrote: I agree with this. How do we go about find code that uses the assumption that _v_ stuff won't change unless it's at a transaction boundary? Note that we had a problem related to this with a client recently: In CMF,

Re: [Zope-dev] Re: catalogObject changes (Zope-2_6-branch)

2003-10-07 Thread Casey Duncan
This is broken in 2.6.2 and I would consider it a bug in that release. I would support an improved api such as: catalog_object(obj, idxs=[], metadata=1) The way it is currently breaks at least one of my applications as well (ironically, this was an application the Chris was also working on).

Re: [Zope-dev] Re: catalogObject changes (Zope-2_6-branch)

2003-10-07 Thread Casey Duncan
On Tuesday 07 October 2003 10:41 am, Yuppie wrote: Hi! Casey Duncan wrote: This is broken in 2.6.2 and I would consider it a bug in that release. I would support an improved api such as: catalog_object(obj, idxs=[], metadata=1) I'm sure you mean catalog_object(obj, uid, idxs

Re: [Zope-dev] Re: catalogObject changes (Zope-2_6-branch)

2003-10-07 Thread Casey Duncan
On Tuesday 07 October 2003 12:08 pm, Chris McDonough wrote: On Tue, 2003-10-07 at 09:52, Casey Duncan wrote: This is broken in 2.6.2 and I would consider it a bug in that release. I would support an improved api such as: catalog_object(obj, idxs=[], metadata=1) The way

Re: [Zope-dev] _p_deactivate() and _v_ variables?

2003-09-29 Thread Casey Duncan
On Friday 26 September 2003 04:37 am, Toby Dickenson wrote: On Friday 26 September 2003 09:32, Chris Withers wrote: Toby Dickenson wrote: On Thursday 25 September 2003 11:51, Chris Withers wrote: Hmmm, does _p_deactivate() clear the contents of the object's _v_ variables? Yes

Re: [Zope-dev] PCGI-Problem

2003-09-21 Thread Casey Duncan
On Friday 19 September 2003 04:31 am, Andre Schubert wrote: On Thu, 18 Sep 2003 14:32:52 +0200 Andre Schubert [EMAIL PROTECTED] wrote: Hi all, i have a little problem. We have several Zope's running in our company. Versions are 2.5.1,2.6.1,2.6.2. All are running on Redhat Linux.

Re: [Zope-dev] Functional testing of export/import?

2003-07-28 Thread Casey Duncan
You can usually commit a subtransaction to get a _p_jar and oid (I think) set. You can still abort this at the end of the test to clean up. hth, -Casey On Monday 28 July 2003 12:39 pm, Paul Winkler wrote: I'm trying to write a functional test that verifies that an instance of my Product

Re: [Zope-dev] ZCatalog Indexes tab crawls...

2003-07-18 Thread Casey Duncan
On Friday 18 July 2003 01:29 pm, Dieter Maurer wrote: Anthony Baxter wrote at 2003-7-18 15:14 +1000: Andreas Jung wrote I agree but the current implementation sux. Switching to a counter based solution would solve the problem. The only problem I see is to keep the code fully

Re: [Zope-dev] ZCatalog Indexes tab crawls...

2003-07-17 Thread Casey Duncan
Actually I regard the current behavior as a feature. Using a stopwatch and a slide-rule I can estimate to within 100 objects, how many values are indexed in a catalog by measuring the time it takes to draw the indexes page. Please do not remove this most valued feature! -Casey On Thursday 17

Re: [Zope-dev] 2.6.2b3?

2003-06-23 Thread Casey Duncan
Post this to zodb-dev. -Casey On Monday 23 June 2003 05:12 am, seb bacon wrote: Just a quick repeat from last week in case it slipped from anyone's radar... Here is the important bit again: a) Any reason why I shouldn't merge BTree bugfixees into the 2.6 branch? b) If no, how about a

Re: [Zope-dev] weak examples, weak exploits

2003-06-23 Thread Casey Duncan
I would be in favor of making the Examples opt-in like the Zope tutorial. It seems silly to have it in evey ZODB by default. Make people add it if they want it. -Casey On Monday 23 June 2003 05:12 am, Jamie Heilman wrote: seb bacon wrote: No. Just go ahead and make the changes. It would

Re: [Zope-dev] Memory Error

2003-06-17 Thread Casey Duncan
On Tuesday 17 June 2003 11:47 am, Andy McKay wrote: If you've visited ZopeZen you might have noticed this lovely error that seems to occur intermittently.. [snip rest of traceback] * Module Products.CMFCore.CatalogTool, line 214, in searchResults * Module

[Zope-dev] Re: [Zope-Coders] Bug day?

2003-06-16 Thread Casey Duncan
I assume you meant Tuesday the 17th. It is currently the 16th, but it is not yet Tuesday. However, if it is the management's decision that today shall be Tuesday, than I shall do my duty and respect that decision ;^) time-is-relatively y'rs, -Casey On Wednesday 11 June 2003 10:08 pm, Brian

[Zope-dev] ZCTextIndex Improvements

2003-06-06 Thread Casey Duncan
For the past few days I have been working on database conflicts stemming from ZCTextIndex (no pun intended). The version currently released causes conflicts for *any* concurrent index/unindex operation. I have changed both the lexicon and index classes to fix this. Now conflicts coming from the

Re: small summary and big plea was:(Re: [Zope-dev] Versions: should they die?)

2003-06-06 Thread Casey Duncan
One man's opinion: - Version support (at the application level) should be optional in 2.7. You should be able to turn it off (maybe through ZConfig). The default should probably be off, since I think more people avoid them than use them. I would suggest these approaches: 1: File a bug in the

Re: [Zope-dev] Conflict reduced BTrees for cataloging

2003-03-14 Thread Casey Duncan
Although I'm not an expert on _p_independent, AFAIK, it can only be used for objects which are not in any way dependant on the state of other persistent objects. This is certainly not the case for BTrees, which is pretty much covers the data structures used for cataloguing and indexing. I

Re: [Zope-dev] Following the Zope Collector

2003-02-26 Thread Casey Duncan
Done. -Casey On Wednesday 26 February 2003 02:41 pm, Florent Guillaume wrote: On Wed, 2003-02-26 at 19:31, Steve Alexander wrote: So I'd like to propose to switch the Zope collector to dispatcher Off. This would mean more email traffic for the supporters, but it's easy enough to filter

Re: [Zope-dev] Python core dump zope 2.6.1+CMF1.3

2003-02-12 Thread Casey Duncan
On Wednesday 12 February 2003 09:20 am, R. David Murray wrote: [snip] I sup regularly, and rebuild regularly. That patch is already applied. Also, 2.2 appears to not need the patch, and it crashes, too. I can confirm that 2.2 does need to be configured with a larger stack size to work

Re: [Zope-dev] ExternalEditor losing its lock?

2003-02-04 Thread Casey Duncan
Hmmm, I think this may be due to a typo in the helper app code. Try applying the attached diff to zopeedit.py and see if it helps. -Casey On Tuesday 04 February 2003 03:58 am, Jean Jordaan wrote: Hi all A couple of times now, I've noticed this: - I open a Python Script using

Re: [Zope-dev] [PATCH] Forking daemon in debug mode, and new start scripts

2003-01-22 Thread Casey Duncan
On Tuesday 21 January 2003 06:45 pm, Adrian van den Dries wrote: [Sorry about the broken thread] On January 20, Guido van Rossum wrote: You seem to forget that in debugging mode there are other things that happen (or not) besides logging. Ah, the infamous Zope side-effect, aka other

  1   2   3   4   >