[Zope-dev] unrestrictedTraverse unable to access the root object

2001-11-09 Thread Johan Carlsson [Torped]
Hi all, The collector seems to still be offline? I just realized that the unrestrictedTraverse returns self for the empty-string url: '' I did expect it to return the root object because the empty-string is equal to the path tuple ('',). Is there any reason for the current behaviour? Does

Re: [Zope-dev] RFC: Date property requiers valid date (no more)

2001-10-07 Thread Johan Carlsson [Torped]
Johan - I have done a similiar hotfix by using None - which I think is a better alternative than ''. If you want to see all of the source, download the following Product, http://www.zope.org/Members/natsukashi/Products/CMFPropertyCore, and look inside the file

[Zope-dev] The future of ZPatterns and LoginManager

2002-03-10 Thread Johan Carlsson [Torped]
again, as well as LoginManager, but I feel somewhat of a doubt what they will be around in the future and in Zope 3. So, are they? Or what I really want to know, is it safe to base my applications on ZP and/or LM or is it something I'm going to regret? Best Regards, Johan Carlsson torped strategi

[Zope-dev] range:min bug in ZCatalogs fo Zope 2.3.2

2002-03-21 Thread Johan Carlsson [Torped]
-- Johan Carlsson, Torped AB http://www.torped.se -- http://easypublisher.torped.se ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http

[Zope-dev] Re: [Zope] range:min bug in ZCatalogs fo Zope 2.3.2

2002-03-22 Thread Johan Carlsson [Torped]
will be somewhat biased). What I don't seem to understand is that DateTime() and DateTime(DateTime().Date) gets so different results. Have anyone seen something like this before? Best Regards, Johan Carlsson -- Johan Carlsson, Torped AB http://www.torped.se -- http

[Zope-dev] Re: [Zope] range:min bug in ZCatalogs fo Zope 2.3.2

2002-03-22 Thread Johan Carlsson [Torped]
At 05:45 2002-03-22 -0500, you wrote: BTrees were rewritten in 2.4.0 so I assume you will run into problems. Please check the release notes for the latest 2.3.X version if there were some fixes for your problem since 2.3.2. -aj The interface seems to be equal with the old one? Comparing the

[Zope-dev] Re: [Zope] range:min bug in ZCatalogs fo Zope 2.3.2

2002-03-25 Thread Johan Carlsson [Torped]
At 05:45 2002-03-22 -0500, Andreas Jung wrote: BTrees were rewritten in 2.4.0 so I assume you will run into problems. Please check the release notes for the latest 2.3.X version if there were some fixes for your problem since 2.3.2. -aj Problem solved by replacing BTree with Z 2.5.0 version.

[Zope-dev] ts_regex in Zope 2.5.1

2002-04-25 Thread Johan Carlsson [Torped]
Hi, It ts_regex that comes with Zope 2.5.1 seems to rely on regex. Is re thread safe? Also, Plugins from ZPatterns uses ts_regex, is there a later version of Plugins that dones use it? Thanks in advance, Johan Carlsson -- Torped Strategi och Kommunikation AB Johan Carlsson -- [EMAIL

[Zope-dev] What happend to sessionapi-prog.stx?

2002-04-27 Thread Johan Carlsson [Torped]
What happend to sessionapi-prog.stx? I found it in the http://cvs.zope.org/Products/Sessions/help/Attic/ Is there a replacement? Regards, Johan -- Torped Strategi och Kommunikation AB Johan Carlsson [EMAIL PROTECTED] Mail: Birkagatan 9 SE-113 36 Stockholm Sweden Visit: Västmannagatan 67,

Re: [Zope-dev] NOT in Field and Keyword Indexes

2002-07-06 Thread Johan Carlsson [Torped]
At 11:04 2002-07-06 +0200, Johan Carlsson [Torped] said: I intend to release my code on zope.org, but first I though I'd write some unit tests. Ok, writing the UnitTest took more time that writing the Index :-) Here it is any way: http://www.zope.org/Members/johanc/EasyIndexes Usage

[Zope-dev] __record_schema__ of Brains (Was: Record.pyd)

2002-08-09 Thread Johan Carlsson [Torped]
Hi, I'm back on the Brain track :-) What function does the __record_schema__ attribute of the Brains have? Does it do anything else when provide the has_key feature? def has_key(self, key): return self.__record_schema__.has_key(key) Best Regards, Johan Carlsson -- Torped

Re: [Zope-dev] __record_schema__ of Brains (Was: Record.pyd)

2002-08-10 Thread Johan Carlsson [Torped]
(ObjectHub et al) which I read some time ago. I didn't feel then that we what I was looking for. Please tell me if there's been any proposals or discussions regarding this. Regards, Johan Carlsson -- Torped Strategi och Kommunikation AB Johan Carlsson [EMAIL PROTECTED] Mail: Birkagatan 9 SE-113

Re: [Zope-dev] __record_schema__ of Brains (Was: Record.pyd)

2002-08-11 Thread Johan Carlsson [Torped]
At 21:28 2002-08-10 -0400, Casey Duncan said: On Saturday 10 August 2002 11:25 am, Johan Carlsson [Torped] wrote: Now that I understand how the data tuples are copied to the brain I'm not at all sure adding a filter when copying the tuple will optimize thing, because of the overhead

[Zope-dev] PythonWin/Textpad, external import of Zope module andPersistence

2002-08-14 Thread Johan Carlsson [Torped]
the Data.fs) or by importing Zope by in a light way without mounting a storage or just mounting a lights storage. The only thing I want to do in this first phase is to be able to make syntax/sanity checks. Regards, Johan Carlsson -- Torped Strategi och Kommunikation AB Johan Carlsson [EMAIL

Re: [Zope-dev] PythonWin/Textpad, external import of Zope module and Persistence

2002-08-14 Thread Johan Carlsson [Torped]
Regards, Johan Carlsson -- Torped Strategi och Kommunikation AB Johan Carlsson [EMAIL PROTECTED] Mail: Birkagatan 9 SE-113 36 Stockholm Sweden Visit: Västmannagatan 67, Stockholm, Sweden Phone +46-(0)8-32 31 23 Fax +46-(0)8-32 31 83 Mobil +46-(0)70-558 25 24 http://www.torped.se http

Re: [Zope-dev] to __of__ or not to __of__ ?

2002-08-15 Thread Johan Carlsson [Torped]
) return item.__of__(self) --- wrap the item before returned Regards, Johan Carlsson -- Torped Strategi och Kommunikation AB Johan Carlsson [EMAIL PROTECTED] Mail: Birkagatan 9 SE-113 36 Stockholm Sweden Visit: Västmannagatan 67, Stockholm, Sweden Phone +46-(0)8-32 31 23 Fax +46-(0)8-32

Re: [Zope-dev] PythonWin/Textpad, external import of Zope module and Persistence

2002-08-15 Thread Johan Carlsson [Torped]
At 10:54 2002-08-15 +0100, Chris Withers wrote: Johan Carlsson [Torped] wrote: I'm trying to setup to run with either TextPad, which can run external program like python scripts and then parse the result and making Traceback lines linked to the line/file where the error occurred. No sure

Re: [Zope-dev] Proxy Object / __getattr__ / Acquisition

2002-08-29 Thread Johan Carlsson [Torped]
LOG('CMFCore', ERROR, 'Unable to setupCurrentLanguageData()', error=sys.exc_info()) return w_self Regards, Johan Carlsson -- Torped Strategi och Kommunikation AB Johan Carlsson [EMAIL PROTECTED] Mail: Birkagatan 9 SE-113 36 Stockholm Sweden Visit

[Zope-dev] WebDAV Redirects or overriding IDs duing creation

2002-09-19 Thread Johan Carlsson [Torped]
that is being created with something more appropriate like the created objects/collections meta_type. MS WebFolders defaults to New Folder for collections. Best Regards, Johan Carlsson -- Torped Strategi och Kommunikation AB Johan Carlsson [EMAIL PROTECTED] Mail: Birkagatan 9 SE-113 36 Stockholm Sweden

Re: [Zope-dev] __getattr__ and Acquisition

2002-09-23 Thread Johan Carlsson [Torped]
This works as long as your object is not used in several different acquisition contexts. Hi Florent, Would you care to elaborate on that last sentence? :-) Could you give an example when it wouldn't work? Best Regards, Johan Carlsson -- Torped Strategi och Kommunikation AB Johan Carlsson [EMAIL

Re: [Zope-dev] http://cvs.zope.org/Products/Scheduler vs Xron for cron-like functionality. Advice?

2002-10-05 Thread Johan Carlsson [Torped]
The Xron product release is almost a year old, but Scheduler seems to be only available via CVS. Can anyone comment as to the maturity/stability of these products? Any advice would be much appreciated. I can't vouch for either of the products you mentioned, but I've had good

Re: [Zope-dev] http://cvs.zope.org/Products/Scheduler vs Xron for cron-like functionality. Advice?

2002-10-05 Thread Johan Carlsson [Torped]
or ProxyRole. But I'm not sure? I am willing to help with maintaining Xron, especially the part concerning ZEO, because we really need it ... Joachim Excellent! :-) Best Regards, Johan Carlsson -- Torped Strategi och Kommunikation AB Johan Carlsson [EMAIL PROTECTED] Mail: Birkagatan 9 SE

Re: [Zope-dev] http://cvs.zope.org/Products/Scheduler vs Xron for cron-like functionality. Advice?

2002-10-05 Thread Johan Carlsson [Torped]
several times for the same occurrence. This wouldn't be perfect because volatile attributes are thread specific but it could prevent the object from going stall. Best Regards, Johan Carlsson -- Torped Strategi och Kommunikation AB Johan Carlsson [EMAIL PROTECTED] Mail: Birkagatan 9 SE-113 36

Re: [Zope-dev] http://cvs.zope.org/Products/Scheduler vs Xron for cron-like functionality. Advice?

2002-10-06 Thread Johan Carlsson [Torped]
of course you can call everything FROM DTML .. Yes. I also see at least one pre-built events like a DBPackEvent and possibly more. Events may need to be restricted to only be created in the Scehduler. Not sure that we need this one. Just an idea that pop by :-) Regards, Johan Carlsson -- Torped