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

2002-10-05 Thread Johan Carlsson [Torped]
#x27;d probably want to call Scripts >(Python) more often, though 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 thi

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

2002-10-05 Thread Johan Carlsson [Torped]
uld be optional, I still want the Event to keep a volatile history log to prevent it from being called 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

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

2002-10-05 Thread Johan Carlsson [Torped]
py to share. Who should the events be run as? To day the are run as Anonymous even though there are arguments for passing user name and password I can find any in the UI. I think Event should be run as Owner or ProxyRole. But I'm not sure? >I am willing to help with maintaining Xron, esp

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

2002-10-04 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

Re: [Zope-dev] __getattr__ and Acquisition

2002-09-23 Thread Johan Carlsson [Torped]
e volatile attribute > >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 Komm

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

2002-09-19 Thread Johan Carlsson [Torped]
at 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 S

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

2002-08-29 Thread Johan Carlsson [Torped]
# does not exist. import sys from zLOG import LOG, ERROR LOG('CMFCore', ERROR, 'Unable to setupCurrentLanguageData()', error=sys.exc_info()) return w_self Regards, Johan Carlsson -- Torped S

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

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

2002-08-15 Thread Johan Carlsson [Torped]
data = self._items if data.has_key(key): item = self._items[key] if not hasattr(item,'key'): setattr(item,'key',key) return item.__of__(self) <--- wrap the item before returned Regards, Johan Carlsson -- Torped

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

2002-08-14 Thread Johan Carlsson [Torped]
e.org/Memebers http://www.zope.org/Members/johanc/Tips_and_HowTos/textpad_tooltips_howto 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-

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

2002-08-14 Thread Johan Carlsson [Torped]
t; environment without importing Zope (which mounts 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 Strate

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 > > thin

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

2002-08-10 Thread Johan Carlsson [Torped]
object indexing it self to tell the catalog in which "tables" it should store meta data. There have been some proposals (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 discussion

[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 -- T

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

[Zope-dev] NOT in Field and Keyword Indexes

2002-07-06 Thread Johan Carlsson [Torped]
x and PathIndex, while I'm at it :-) ( TextIndexes does partially do NOT with the 'andnot', 'ornot' opertators, but they require that the first search argument is not not (e.g. "first AND NOT second", not "NOT first AND second") ) Best Regards, Jo

[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,

[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] 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] 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

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

2002-03-22 Thread Johan Carlsson [Torped]
t; > will always result in a list (all though it gets quantized to midnight the > > resulting list will be somewhat biased). > > > > What I don't seem to understand is that DateTime() and > > DateTime(DateTime().Date) gets so different results. > > > > Have an

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

2002-03-21 Thread Johan Carlsson [Torped]
ts. Have anyone seen something like this before? Best Regards, Johan Carlsson -- Johan Carlsson, Torped AB http://www.torped.se -- http://easypublisher.torped.se ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zop

[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 str

[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 anybod

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 CMFPropertyCore/Lin