Re: [Zope-dev] Observer / Notification Interface Proposal

2000-05-24 Thread Tres Seaver
"Phillip J. Eby" wrote: > > At 09:15 PM 5/24/00 -0400, Tres Seaver wrote: > > > >Note that the scaling requirement (no blocking/long-running actions > >inside the notification call) is intended to support intra-request > >notification. A ConcreteObserver implementation which needs to > >perform

Re: [Zope-dev] eat our own unsupported dog food

2000-05-24 Thread Michael Bernstein
Michel Pelletier wrote: > > There is a recent need for us to install ZDiscussions on Zope.org. I > have verified that 0.1.0 works with 2.1.6, but I can't seem to d/l > 0.2.0. The author of said software is not available, any one know the > status on ZDiscussions? Has any one tweaked it? I fou

Re: [Zope-dev] FWIW, ZCVSMixin now at 0.0.2... and rising. ;-)

2000-05-24 Thread Michael Bernstein
Steve Spicklemire wrote: > I've not heard any comments about the usefulness of this concept... > am I barking up the wrong tree to get version control of zope objects? > Does someone know of a better way? Steve, this has been my fondest hope for about three months now. Now, if I could also get i

Re: [Zope-dev] Observer / Notification Interface Proposal

2000-05-24 Thread Phillip J. Eby
At 09:15 PM 5/24/00 -0400, Tres Seaver wrote: > >Note that the scaling requirement (no blocking/long-running actions >inside the notification call) is intended to support intra-request >notification. A ConcreteObserver implementation which needs to >perform such work (e.g., send an e-mail message

Re: [Zope-dev] ZCVS Mixin class... feedback sought.

2000-05-24 Thread Jonothan Farr
> Good questions! > > You can just go to the 'admin' tab and type 'diff'. > The admin tab lets you execute just about any cvs command > with arguments stat, rtag etc etc. Doing a diff on a zexp file isn't going to be very helpful, though. Any thoughts on integrating some sort of xml diff

Re: [Zope-dev] Observer / Notification Interface Proposal

2000-05-24 Thread Michel Pelletier
Tres Seaver wrote: > > I have started a page for an implementation of the GangOfFour Observer > pattern within Zope: > >http://www.zope.org/Members/michel/Projects/Interfaces/ObserverAndNotification> > > Please comment, either here or in the wiki. I'll do both, this is absolutely a despe

Re: [Zope-dev] ZCVS Mixin class... feedback sought.

2000-05-24 Thread Steve Spicklemire
Hi Jonothan, Good questions! You can just go to the 'admin' tab and type 'diff'. The admin tab lets you execute just about any cvs command with arguments stat, rtag etc etc. Conflicts.. uh... bad news. ;-) I think it's essentially impossible to 'merge' two different ve

[Zope-dev] eat our own unsupported dog food

2000-05-24 Thread Michel Pelletier
There is a recent need for us to install ZDiscussions on Zope.org. I have verified that 0.1.0 works with 2.1.6, but I can't seem to d/l 0.2.0. The author of said software is not available, any one know the status on ZDiscussions? Has any one tweaked it? -- -Michel Pelletier http://www.zope

Re: [Zope-dev] Observer / Notification Interface Proposal

2000-05-24 Thread Tres Seaver
"Phillip J. Eby" wrote: > > Is this only for events occurring within a transaction, or across > transactions? If across transactions, how do you intend to handle > persistent references, acquisition, and cross-database references? > (My suggestion would be to use a path to the callable.) Note t

Re: [Zope-dev] Observer / Notification Interface Proposal

2000-05-24 Thread Phillip J. Eby
At 07:19 PM 5/24/00 -0400, Tres Seaver wrote: >I have started a page for an implementation of the GangOfFour Observer >pattern within Zope: > > http://www.zope.org/Members/michel/Projects/Interfaces/ObserverAndNotificat ion> > >Please comment, either here or in the wiki. > Is this only for event

[Zope-dev] Observer / Notification Interface Proposal

2000-05-24 Thread Tres Seaver
I have started a page for an implementation of the GangOfFour Observer pattern within Zope: http://www.zope.org/Members/michel/Projects/Interfaces/ObserverAndNotification> Please comment, either here or in the wiki. Tres. -- === Tres Sea

Re: [Zope-dev] ZCVS Mixin class... feedback sought.

2000-05-24 Thread Jonothan Farr
Just curious. How do you do diffs? How do you resolve conflicts? How do you handle login/logout? --jfarr "Perl is worse than Python because people wanted it worse." Larry Wall, 14 Oct 1998 ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope

Re: [Zope-dev] ZCVS Mixin class... feedback sought.

2000-05-24 Thread Shane Hathaway
Steve Spicklemire wrote: > Hope that helps It's really shocking just how easy it was > to do this makes me wonder why it hasn't been done already, > and *that* makes me wonder if I'm doing something really dumb > here. ;-) It seems kinda cool to me. I find that the same phenomenon keeps o

Re: [Zope-dev] ZCVS Mixin class... feedback sought.

2000-05-24 Thread Steve Spicklemire
Hi Jerry, (in case you're wondering.. Jerry really *is* my brother..) > "JS" == Jerry Spicklemire <[EMAIL PROTECTED]> writes: JS> Chris Withers wrote: >> Sounds like a cool idea, but I don't really understand what it >> does and how you use it. >> >> Could you give use

[Zope-dev] Re: ZCVS Mixin class... feedback sought.

2000-05-24 Thread Chris Withers
Jerry Spicklemire wrote: [snip] > Steve, please clarify any of the concepts I've managed to mangle! Now this sounds like something I waffled about a few weeks back... ...cool :-) I don't think I'm gonna have a chance to play though :S I'll jump in at 1.0.0 though and I'm there in spirit now

[Zope-dev] ZCVS Mixin class... feedback sought.

2000-05-24 Thread Jerry Spicklemire
Chris Withers wrote: >Sounds like a cool idea, but I don't really understand what it does and >how you use it. > >Could you give use some enlightenment? Have a little patience with Steve, to him reading Python source code is like reading our own native language to the rest of us. "Docs, we don'

Re: [Zope-dev] [Fwd: ZCatalog.. Again.. I know..]

2000-05-24 Thread Chris Withers
Michel Pelletier wrote: > > I'm looking into this right now... > Many thanks :-) As you may have gathered from my posts, I've been having a bit of a ZCatalog/SiteAccess (not to mention MIME) nightmare today... ...I took a day off work to try and get Squishdot 0.4.0 out and have spent the day

[Zope-dev] Cannot rename or move my ZClass object

2000-05-24 Thread Lindell Alderman
I have derived a ZClass from the Folder base class and it works great, except I cannot rename or move my ZClass. How can I fix this? -L ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or H

Re: [Zope-dev] XML to SQL or XML into tables

2000-05-24 Thread Kent Polk
On 24 May 2000 07:20:00 -0500, Thomas Weholt wrote: >Hello, > >Has anybody tried to somehow get xml-data into SQL-statements or in some >other way use xml-data as datasource for insertion into tables? >It shouldn`t be impossible, if we could just agree on some format or DTD to >use. I'm headed t

Re: [Zope-dev] FWIW, ZCVSMixin now at 0.0.2... and rising. ;-)

2000-05-24 Thread Steve Spicklemire
Ack.. had to move one of these URLS: > "Steve" == Steve Spicklemire <[EMAIL PROTECTED]> writes: Steve> FYI... if anyone out there is testing... there is already Steve> an update to ZCVSMixin. Steve> http://www.zope.org/Members/sspickle/ZCVSMixin Steve> This is of course in

Re: [Zope-dev] [Fwd: ZCatalog.. Again.. I know..]

2000-05-24 Thread Michel Pelletier
Chris Withers wrote: > > Itamar Shtull-Trauring wrote: > > Last I heard, this bug fix did NOT fix the key-error problem. We are still > > getting lots of them (but it may have been fixed since in CVS. Michel?) > > This is weird... the bit of code in question was: > lib/python/SearchIndex/Lexic

[Zope-dev] Re: ZCatalog and Unique IDs

2000-05-24 Thread Michel Pelletier
Chris Withers wrote: > > Hi, > > I hope this is a stupid question but why does ZCatalog use the URL of an > object to uniquely identify it? Because it's unique. > Why not just use a reference to the object? How do you define that? If you mean reference in the strictly python sense, then I

Re: [Zope-dev] how to download a entire ZWiki site?

2000-05-24 Thread Gregor Hoffleit
On Mon, May 22, 2000 at 07:28:09PM +0400, Jephte CLAIN wrote: > Where I work, I do not have access to the internet, and as such, I have > to move software and docs back and forth to my office. I understand that > it is better for collaborative work to use ZWikis, but I wonder, how do > I download

[Zope-dev] FWIW, ZCVSMixin now at 0.0.2... and rising. ;-)

2000-05-24 Thread Steve Spicklemire
FYI... if anyone out there is testing... there is already an update to ZCVSMixin. http://www.zope.org/Members/sspickle/ZCVSMixin This is of course in cvs! http://cvs.spvi.com/cgi-bin/viewcvs.cgi/zope/lib/python/Products/ZCVSMixin/ and you can see some cvs'ed objects: http://cvs.spvi.com/cgi

Re: [Zope-dev] Problems with LoginManager form-based login

2000-05-24 Thread Kevin Dangoor
- Original Message - From: "Phillip J. Eby" <[EMAIL PROTECTED]> To: "Itamar Shtull-Trauring" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, May 24, 2000 9:59 AM Subject: Re: [Zope-dev] Problems with LoginManager form-based login > Make your root acl_users a LoginManager, with

Re: [Zope-dev] [Fwd: ZCatalog.. Again.. I know..]

2000-05-24 Thread Chris Withers
Itamar Shtull-Trauring wrote: > You're using 2.1.6? That's something different. The KeyErrors bug only > appeared in CVS ZCatalog - the partial searching version. So it must be > something else - and for all I know this bug is fixed in CVS. Yeah, this is happening on 2.1.6 as part of Squishdot

Re: [Zope-dev] Problems with LoginManager form-based login

2000-05-24 Thread Phillip J. Eby
At 05:24 PM 5/24/00 +0300, Itamar Shtull-Trauring wrote: >"Phillip J. Eby" wrote: > >> Make your root acl_users a LoginManager, with the loginForm there. >> LoginManager will only allow "Anonymous" to log in if it is the root >> acl_users. This is how standard user folders behave, and *have to* b

Re: [Zope-dev] [Fwd: ZCatalog.. Again.. I know..]

2000-05-24 Thread Itamar Shtull-Trauring
Chris Withers wrote: > I'm not even going to try and guess which is right, all I know is that I > haven't made either change yet and I'm getting an unacceptable number of > incorrect search results in stock 2.1.6 and would like to sort it out... You're using 2.1.6? That's something different.

Re: [Zope-dev] [Fwd: ZCatalog.. Again.. I know..]

2000-05-24 Thread Chris Withers
Itamar Shtull-Trauring wrote: > Last I heard, this bug fix did NOT fix the key-error problem. We are still > getting lots of them (but it may have been fixed since in CVS. Michel?) This is weird... the bit of code in question was: lib/python/SearchIndex/Lexicon.py line 132: else:

[Zope-dev] Re: __call__ issue

2000-05-24 Thread Jim Fulton
Chimezie Thomas-Ogbuji wrote: > > I've posted an concern/issue with aquisition and method invokation on > the wikki at: > > >http://216.164.72.7:7780/Wiki/Members/jim/ZDOM/Issue%20with%20__call__%20and%20Aquisition I just added a comment to this page, which now happens to be at: http://www.zo

Re: [Zope-dev] Problems with LoginManager form-based login

2000-05-24 Thread Itamar Shtull-Trauring
"Phillip J. Eby" wrote: > Make your root acl_users a LoginManager, with the loginForm there. > LoginManager will only allow "Anonymous" to log in if it is the root > acl_users. This is how standard user folders behave, and *have to* because > of the way manage_workspace works, unfortunately. Un

Re: [Zope-dev] Problems with LoginManager form-based login

2000-05-24 Thread Phillip J. Eby
At 01:47 PM 5/24/00 +0300, Itamar Shtull-Trauring wrote: >I add a folder, with a LoginManager in it, define Cookie Auth as only >authntication. Now, every time I try to view the folder I get the loginForm >asking me to login, even though Anonymous has permissions to view the >pages. If I delete

Re: [Zope-dev] ZCatalog and Unique IDs

2000-05-24 Thread Chris Withers
Itamar Shtull-Trauring wrote: > > Hence the traversal interface? > > Right. Which is due to arrive in 2.2? ;-) Chris ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! **

Re: [Zope-dev] ZCatalog and Unique IDs

2000-05-24 Thread Itamar Shtull-Trauring
Chris Withers wrote: > Itamar Shtull-Trauring wrote: > > What happens when you have multiple ZODBs? Additionaly, this breaks > > encapsulation between the ZODB and applications built on it, which isn't > > such a good idea. > > Good, it was a stupid question. :-) Not so stupid - I had the sam

Re: [Zope-dev] zpatterns: rackmountables must be of-wrapped

2000-05-24 Thread Phillip J. Eby
At 05:33 PM 5/24/00 +0400, Jephte CLAIN wrote: >Hello, > >I believe items got from a rack have to be wrapped in context of the >rack. I've been bitten by this (and it hurts!). When I try to use items >from DTML, only the superuser can use it, even managers can't access the >objects. When I wrap th

Re: [Zope-dev] ZCatalog and Unique IDs

2000-05-24 Thread Chris Withers
Itamar Shtull-Trauring wrote: > What happens when you have multiple ZODBs? Additionaly, this breaks > encapsulation between the ZODB and applications built on it, which isn't > such a good idea. Good, it was a stupid question. :-) I guess when you catalog objects, you should make sure you use t

Re: [Zope-dev] ZCatalog and Unique IDs

2000-05-24 Thread Itamar Shtull-Trauring
Chris Withers wrote: > I hope this is a stupid question but why does ZCatalog use the URL of an > object to uniquely identify it? > > Why not just use a reference to the object? Persistent object > identifiers must exist for the ZODB so why not use them instead? What happens when you have multi

Re: [Zope-dev] ZCVS Mixin class... feedback sought.

2000-05-24 Thread Steve Spicklemire
Hi Chris, The basic idea is that you can export individual zope objects in a container to the filesystem, not to the 'var' directory, but to a directory under CVS control. Then you can commit, update, add, remove etc files (each of which is the xml representation of a zope object) and k

[Zope-dev] ZCatalog and Unique IDs

2000-05-24 Thread Chris Withers
Hi, I hope this is a stupid question but why does ZCatalog use the URL of an object to uniquely identify it? Why not just use a reference to the object? Persistent object identifiers must exist for the ZODB so why not use them instead? cheers, Chris PS: This would solve all the problems with

Re: [Zope-dev] ZCVS Mixin class... feedback sought.

2000-05-24 Thread Chris Withers
Steve Spicklemire wrote: > http://www.zope.org/Members/sspickle/ZCVSMixin Sounds like a cool idea, but I don't really understand what it does and how you use it. Could you give use some enlightenment? cheers, Chris ___ Zope-Dev maillist - [EMAIL P

[Zope-dev] ZCVS Mixin class... feedback sought.

2000-05-24 Thread Steve Spicklemire
Hi Folks, This might be a dumb idea but I thought "what the hell?". Anyway.. I don't know if this has already been done, but I just uploaded an 'alpha alpha' class that allows maintainence of individual Zope objects in a CVS repository. You need to set up the repository outside of Zo

[Zope-dev] Traversal Interface?

2000-05-24 Thread Chris Withers
Hi, Just wondering if the new traversal interface is going to make it into 2.2? I'm hitting the usual ZCatalog/SiteAccess problem and I'm wondering whether or not to build Evan's patch into Squishdot 0.4.0 or wait for the traversal interface? cheers, Chris

Re: [Zope-dev] Log-parser

2000-05-24 Thread Itamar Shtull-Trauring
"Morten W. Petersen" wrote: > > I'd like to parse the var/Z2.log file, and being a bit lazy, I just tried > to slap in an Apache log-parser utility. This doesn't work however, > are there any utilities that can? AFAIK it's compatible with Apache's log format. Most any log ananlyzer will work -

[Zope-dev] XML to SQL or XML into tables

2000-05-24 Thread Thomas Weholt
Hello, Has anybody tried to somehow get xml-data into SQL-statements or in some other way use xml-data as datasource for insertion into tables? It shouldn`t be impossible, if we could just agree on some format or DTD to use. Ex.

[Zope-dev] Log-parser

2000-05-24 Thread Morten W. Petersen
I'd like to parse the var/Z2.log file, and being a bit lazy, I just tried to slap in an Apache log-parser utility. This doesn't work however, are there any utilities that can? If there aren't any, why not change the log format to the standard Apache log format? -Morten -

Re: [Zope-dev] Session Objects?

2000-05-24 Thread Morten W. Petersen
Are there sheets with these (and similar) notes anywhere on zope.org? If not, maybe there should be? -Morten ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related

[Zope-dev] Problems with LoginManager form-based login

2000-05-24 Thread Itamar Shtull-Trauring
I add a folder, with a LoginManager in it, define Cookie Auth as only authntication. Now, every time I try to view the folder I get the loginForm asking me to login, even though Anonymous has permissions to view the pages. If I delete the loginForm this doesn't happen, I can view the page with n

Re: [Zope-dev] Session Objects?

2000-05-24 Thread Morten W. Petersen
> Actually - I tell a slight lie. The DB might be hit once for each > thread, as the ZSQL cache is not shared between Zope threads. You need > to be aware of this as a cached result may be refreshed in one thread > but not yet expired in another and can give ambiguous results and > unreproducable

Re: [Zope-dev] [Fwd: ZCatalog.. Again.. I know..]

2000-05-24 Thread Chris Withers
Itamar Shtull-Trauring wrote: > > "R. David Murray" wrote: > > > It had better be . It's also a one line fix to Lexicon.py. > > Mike posted a note explaining the fix and how to retrofit it into > > an existing site (you have to clear and rebuild the Lexicon, so > > it becomes a little more than

[Zope-dev] zpatterns: rackmountables must be of-wrapped

2000-05-24 Thread Jephte CLAIN
Hello, I believe items got from a rack have to be wrapped in context of the rack. I've been bitten by this (and it hurts!). When I try to use items from DTML, only the superuser can use it, even managers can't access the objects. When I wrap the items in the context of the rack, everything is fin

Re: [Zope-dev] Session Objects?

2000-05-24 Thread Stuart 'Zen' Bishop
On Tue, 23 May 2000, Adam Pawliuk wrote: > Although there is several user characteristics that we would like to store in a >session object cached in server RAM, such as the user's unique system ID, greeting >name, etc; rather than having to hit the DB for this information on each request. >Bas

Re: [Zope-dev] [Fwd: ZCatalog.. Again.. I know..]

2000-05-24 Thread Itamar Shtull-Trauring
"R. David Murray" wrote: > It had better be . It's also a one line fix to Lexicon.py. > Mike posted a note explaining the fix and how to retrofit it into > an existing site (you have to clear and rebuild the Lexicon, so > it becomes a little more than a one line fix). If you can't find > the me

Re: [Zope-dev] Please Help!!! - HelpSys

2000-05-24 Thread Chris Withers
Lena wrote: > I actually need to create a simple web-editor, something very similar to > HelpSys, but I need to link tree items to the folders I create dynamically > in Zope. I'd suggest looking at the ZWiki Product, it may be exactly what you want: http://www.zope.org/Members/simon/ZWiki cheer