[Zope-dev] Inheritable properties(sheets)? Anyone? Anyone? Bueller?

2000-10-11 Thread Alexander Schonfeld
I want to inherit the properties of one zclass in another zclass, but it seems to cause some namespace clashing... shouldn't this be possible? Working with the instance of the class is fine, but inter-zclass inheritance (acquisition?) would be nice... Am I missing something? Thanks, Alex. 10100

Re: [Zope-dev] Strange permissions in the (built-in) API reference

2000-10-11 Thread Michel Pelletier
Dieter Maurer wrote: > > Recently, I read the "Interface Wiki". It covers most of > the methods contained in the API and its permission descriptions > made a very solid impression. Maybe, you can start from these > descriptions. The Interfaces Wiki is actually where all the API documention did c

Re: [Zope-dev] Xron fragility

2000-10-11 Thread Chris McDonough
> > Do you think this is this any more effective than having a producer thread > > do a lookup every minute to see what jobs are current, after which it should > > put the current jobs in a queue? E.g., as the "run" method of a separate > > producer thread: > > the same problem applies, a solutio

Re: [Zope-dev] Xron fragility

2000-10-11 Thread Kapil Thangavelu
A smoke break later, some possible more thoughts and snake oil, there are two general purpose facilities embodied in xron that i would like to see made available as zope services, async zope processing and scheduling. async-- i'd like to be able to designate TTW that a method execute outside of

Re: [Zope-dev] Xron fragility

2000-10-11 Thread Kapil Thangavelu
Chris McDonough wrote: > > > > > > Xron has a single dispatcher thread. This thread knows how long to > sleep > > > > for until the next job needs to run. > > > > > > Do you think this is this any more effective than having a producer > thread > > > do a lookup every minute to see what jobs are c

Re: [Zope-dev] Xron fragility

2000-10-11 Thread Kapil Thangavelu
Chris McDonough wrote: > > > It is the Xron DTML Method's responsibility to reschedule itself. > > It could be its first duty, however. Then again, as all the work happens > > inside a ZODB transaction, it doesn't matter when the reschedule > > happens. > > I understand. > > As a side note, I

Re: [Zope-dev] Xron fragility

2000-10-11 Thread Chris McDonough
> I'll need to try to call get_transaction().commit() from a > manually-constructed Python thread fired off from Zope and see what happens. > I think it'll just work. I'll find out in a few minutes. :-) Yes, it just works. :-) ___ Zope-Dev maillis

Re: [Zope-dev] Xron fragility

2000-10-11 Thread Chris McDonough
> > As a side note, I do not like the fact that Xron requires you to use special > > DTML methods. I suppose this is a requirement in this architecture due to > > the fact they need to be autocataloged, but I don't really like that feature > > either :-). > > I think Xron could work with anything

Re: [Zope-dev] Xron fragility

2000-10-11 Thread Steve Alexander
Chris McDonough wrote: > > As a side note, I do not like the fact that Xron requires you to use special > DTML methods. I suppose this is a requirement in this architecture due to > the fact they need to be autocataloged, but I don't really like that feature > either :-). I think Xron could wor

Re: [Zope-dev] Better user management: Usership vs. Membership

2000-10-11 Thread Michael Bernstein
Jonas Juselius wrote: > > Hello, > > I had a look at the Membership product, but I could not get it to work. It > seems that the PortalMember ZClass in the PortalMembership Product inherits > from _ZClass_for_LoginUser, which is no longer in the LoginManager... Were you trying to use Membership

Re: [Zope-dev] Xron fragility

2000-10-11 Thread Chris McDonough
> It is the Xron DTML Method's responsibility to reschedule itself. > It could be its first duty, however. Then again, as all the work happens > inside a ZODB transaction, it doesn't matter when the reschedule > happens. I understand. As a side note, I do not like the fact that Xron requires you

Re: [Zope-dev] Xron fragility

2000-10-11 Thread Steve Alexander
Chris McDonough wrote: > > Steve, > > I am also interested in scheduling... though I haven't looked closely at > Xron. > > > The Xron product seems rather "fragile" in use. > > > > That is, if things go wrong when an Xron DTML Method is triggered, that > > method doesn't get rescheduled. > > D

Re: [Zope-dev] Xron fragility

2000-10-11 Thread Chris McDonough
Steve, I am also interested in scheduling... though I haven't looked closely at Xron. > The Xron product seems rather "fragile" in use. > > That is, if things go wrong when an Xron DTML Method is triggered, that > method doesn't get rescheduled. Does Xron take an optimistic approach to repeati

[Zope-dev] Xron fragility

2000-10-11 Thread Steve Alexander
The Xron product seems rather "fragile" in use. That is, if things go wrong when an Xron DTML Method is triggered, that method doesn't get rescheduled. An example of this is that my intranet DNS server needed to be rebooted. Xron couldn't look up the appropriate domain name, and stopped working.

[Zope-dev] AttributeProvider and type information

2000-10-11 Thread John Eikenberry
I just want to ask a couple quick questions... First, when using the AttributeProvider class you are pretty much required to subclass it to add methods for altering the values of the attributes. Basically I want to be sure I'm not missing something criticle as there don't seem to be any methods

[Zope-dev] Better user management: Usership vs. Membership

2000-10-11 Thread Jonas Juselius
Hello, I had a look at the Membership product, but I could not get it to work. It seems that the PortalMember ZClass in the PortalMembership Product inherits from _ZClass_for_LoginUser, which is no longer in the LoginManager... But actually I don't care... I tried to contact Bill about the Member

Re: [Zope-dev] Building Zope on Linux

2000-10-11 Thread Toby Dickenson
On Wed, 11 Oct 2000 07:57:52 +0800, "Sin Hang Kin" <[EMAIL PROTECTED]> wrote: >Recently I report the MyMath.h is missing. After receiving the help from the >list, I realize I have just got the python 2.0 beta from the sourceforge >cvs. the file must have been removed from python. > >Are there any

[Zope-dev] Xron on linux: Dispatcher thread stops after a while

2000-10-11 Thread Steve Alexander
Zope 2.2.2, Xron-0-0-9, Python 1.5.2 I'm running this on i386 Linux. I run a development server, with that server running in debus mode (-D). I also run a production server, which runs detached from any console. When I use Xron for a while on my development server, I get the text currentTh