Re: [Zope] Netscape Image Problems (LoginManager?)

2000-05-24 Thread Itamar Shtull-Trauring
[EMAIL PROTECTED] wrote: Using the %{If-Modified-Since}i directive in the Apache log, we have been able to confirm that Netscape 3.01 and 4.06 on Win32 are sending If-Modified-Since with "16-May-00" type dates. Dieter's solution indeed fixes the problem by removing the Overflow error that

[Zope] Article: Zope - a Swiss Army Knife for the Web?

2000-05-24 Thread Paul Browning
I'm a bit shy about this article amongst hardened Zopistas as it shows that I'm only just reaching the steep part of the learning cliff having wandered through the gentler foothills over the last year. The article was written at the end of 1999 and has yet to appear in print (and is dating

[Zope] Discussion board with e-mail notification?

2000-05-24 Thread Paul Browning
Hi. I need a quick fix. The Confera Product I'm using offers a "Notify me via email of responses to this message" check box if a MailHost object is present in the folder BUT doesn't actually work (for me anyway). Question 1: Anyone fixed this or got it working anyway? Question 2: Is there

Re: [Zope] Feedback Requested: Editor Applet for Zope?

2000-05-24 Thread Stuart 'Zen' Bishop
On Tue, 23 May 2000, Heiko Stoermer wrote: I've been working with Zope for quite some time now, and one point that always slows me down is DTML or SQL source editing in the well-known wonderful textboxes. You all like them... My question: Do you like the idea of having a slim java-based

[Zope] Running multiple instances of Zope with SSL

2000-05-24 Thread Graham Chiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm thinking of doing this ( on an NT box ), and was wondering what the easiest way to do this was ... Roxen? Apache? NT Server? - -- Regards, Graham Chiu gchiuatcompkarori.co.nz http://www.compkarori.co.nz/index.php Powered by Interbase and

[Zope] Feeling like a newbie.. document id if statement?

2000-05-24 Thread J. Atwood
Ok.. this is really dumb, but for some reason I can't get this to work. dtml-if "id=='index_html'" do something cool /dtml-if What am I missing? I tried it on a few pages.. nothing.. Thanks, J (duffus) ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] newbie question: case sensitive folder problem

2000-05-24 Thread Phil Harris
create an other object (DTML Method) called bigfolder with these contents (untested): dtml-call "RESPONSE.redirect('BigFolder')" - Original Message - From: "Alexander N Gould" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 24, 2000 12:43 PM Subject: [Zope] newbie

Re: [Zope] Feeling like a newbie.. document id if statement?

2000-05-24 Thread Phil Harris
J, You may not be as dumb as you think. If I recall correctly, id is one of those strange fish which is sometimes string and sometimes method. So if in your case it is a method then id=='anything' will always be false. Try id()=='index_html'. hth Phil [EMAIL PROTECTED] - Original

Re: [Zope] newbie question: case sensitive folder problem

2000-05-24 Thread Steve Alexander
Alexander N Gould wrote: How can I make a folder on my site case - insensitive in regards to access from URLs. If someone types http://mysite.com/bigfolder/ into their browser, I want it to take them to the Bigfolder, but right now, it produces a missing object error. Any hints? Sorry if

Re: [Zope] Building ZPatterns

2000-05-24 Thread Itamar Shtull-Trauring
Oliver Maunder wrote: I'm trying to install ZPatterns 0.3.0 on an NT system and I've come across problems building the dynpersist C extension. Someone posted the compile dynpersist to Zope-PTK or maybe devel yesterday. -- Itamar S.T. [EMAIL PROTECTED]

RE: [Zope] newbie question: case sensitive folder problem

2000-05-24 Thread Marcus Collins
You could try using Apache rewrite rules to convert all URL's to lower case, and then use only lower case names for your folders, documents and methods. As long as the case is consistent, one rewrite rule should cover everything. hth, -- Marcus -Original Message- From: Alexander N

Re: [Zope] Feeling like a newbie.. document id if statement?

2000-05-24 Thread Marcel Preda
- Original Message - From: Timothy Wilson [EMAIL PROTECTED] On Wed, 24 May 2000, Rik Hoekstra wrote: .. Ok.. this is really dumb, but for some reason I can't get this to work. dtml-if "id=='index_html'" I believe this should be dtml-if "_['id']=='index_html'"

Re: [Zope] Feeling like a newbie.. document id if statement?

2000-05-24 Thread Rik Hoekstra
dtml-if "_['id']=='index_html'" I wonder if someone would be kind enough to translate Rik's code into Enlish for me. I know that expressions inside "" are Python, but what is the function of the [] and _? Hm, I'm afraid this is a DTML trick (nothing more). I hope I can explain this

[Zope] Good news for Zope/Mozilla efforts!

2000-05-24 Thread Dan L. Pierson
Looks like we really will be seeing Python support in Mozilla one of these days! Soon? http://www.newsalert.com/bin/story?StoryId=CosTtWbKbytaXodG ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts

[Zope] How to know the number of parents of an element ???

2000-05-24 Thread Frédéric QUIN
Hi all, Is there any function or method to get the number of parents of an element ? Thanks for your help, Frederic ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! **

[Zope] HELP: problems with ZServer Medusa!

2000-05-24 Thread Jilani Khaldi
Hi All, I have installed Zope on a Linux server (Slackware 7.0) apparently without problems; but, when I start the server with the command: ./start, I have in continuous this message error: -- INFO(0) ZServer Monitor Server (V.1.6) started on port 8099 Raceback (innermost last): File

Re: [Zope] still trying to get Catalog to work in my python product

2000-05-24 Thread Kevin Dangoor
- Original Message - From: "ed colmar" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 23, 2000 11:54 AM Subject: [Zope] still trying to get Catalog to work in my python product After looking over the PTK snapshot, I've tried to duplicate the catlog that is implemented

Re: [Zope] Zope with FreeBSD

2000-05-24 Thread Oleg Broytmann
On Wed, 24 May 2000, Jilani Khaldi wrote: did somebody try to use Zope with FreeBSD with success? Many people, many times. What is your problem? Common sources of confusions on FreeBSD: slightly different (more strict) locale (you may need to compile Zope with all char* being unsigned

[Zope] Re: [Zope-Moz] Good news for Zope/Mozilla efforts!

2000-05-24 Thread Martijn Pieters
On Wed, May 24, 2000 at 10:11:48AM -0400, Dan L. Pierson wrote: Looks like we really will be seeing Python support in Mozilla one of these days! Soon? http://www.newsalert.com/bin/story?StoryId=CosTtWbKbytaXodG Ah good! It's good to see David Ascher can now work more in the open on this.

[Zope] Using Cookie Data

2000-05-24 Thread Jim
I have a cookie that contains the value of an psql key as its value. I want to retrieve the value and use it to call the psql query method to retrieve the data. The code that I am currently using is dtml-in qryGetCustomer(REQUEST.cookies[Company_Name)] The company record has been

[Zope] RE: [Zope-Moz] Good news for Zope/Mozilla efforts!

2000-05-24 Thread David Ascher
Ah good! It's good to see David Ascher can now work more in the open on this. Indeed. I've been chomping at the bit! Integrating other scripting languages in Mozilla was considered tricky if not impossible, but I believe that switching the DOM to using xpidl is helping here. I have no

Re: [Zope] Using Cookie Data

2000-05-24 Thread Hannu Krosing
Jim wrote: I have a cookie that contains the value of an psql key as its value. I want to retrieve the value and use it to call the psql query method to retrieve the data. The code that I am currently using is dtml-in qryGetCustomer(REQUEST.cookies[Company_Name)] try quotes: dtml-in

[Zope] Medusa vs. Apache

2000-05-24 Thread Jilani Khaldi
Hi All, I wonder if it is more convenient to stay with Apache or to move to Medusa a best use of Zope? Thanks. Jilani -- jk ___ http://space.tin.it/scuola/jkhaldi FreeBSD ~ The Power To Serve ___

RE: [Zope] HELP: problems with ZServer Medusa!

2000-05-24 Thread Seb Bacon
does /usr/Zope-2.2.0a1-src/var/z2.pid exist? if not, touch z2.pid and try again. seb. Hi All, I have installed Zope on a Linux server (Slackware 7.0) apparently without problems; but, when I start the server with the command: ./start, I have in continuous this message error: --

Re: [Zope] Medusa vs. Apache

2000-05-24 Thread Petru Paler
Hi All, I wonder if it is more convenient to stay with Apache or to move to Medusa for a best use of Zope? If you don't need any of the Apache features go with ZServer/Medusa. -Petru ___ Zope maillist - [EMAIL PROTECTED]

[Zope] seq-items and nested dtml-ins

2000-05-24 Thread Aaron Payne
How do you differentiate between the seq-items of nested dtml-ins? I tried the following code: dtml-in "instances.objectValues(['Coupon ZClass'])" dtml-in SearchCategory dtml-if "_['sequence-item']=='Auto' " dtml-call "resultsList.append(_['sequence-item'])" /dtml-if /dtml-in end

[Zope] Importing a 2.1 .zexp file into 2.2

2000-05-24 Thread Kevin Dangoor
I'm trying to import the KM|net News product into my CVS Zope (just updated it a moment ago, with no luck). I get the following error: STRONGError Type: InvalidObjectReference/STRONGBR STRONGError Value: Attempt to store a wrapped persistent object/STRONGBR Traceback (innermost last):

Re: [Zope] HELP: problems with ZServer Medusa!

2000-05-24 Thread J. Atwood
Check the permissions on the var directory. J From: Seb Bacon [EMAIL PROTECTED] Date: Wed, 24 May 2000 19:04:00 +0100 To: [EMAIL PROTECTED] Subject: RE: [Zope] HELP: problems with ZServer Medusa! does /usr/Zope-2.2.0a1-src/var/z2.pid exist? if not, touch z2.pid and try again. seb.

[Zope] Collector status on password change bug?

2000-05-24 Thread Kent Polk
I see that the "Can't change User Roles without their Password" bug mentioned in: http://classic.zope.org:8080/Collector/1102/view http://classic.zope.org:8080/Collector/1134/view http://classic.zope.org:8080/Collector/1138/view (etc) is still in 2.1.6

Re: [Zope] Passing multi-line field into SQL

2000-05-24 Thread Tony Mann
You enter a line break by pressing the Enter key! We are using Gadfly for right now, until our Oracle db server is set up. We actually found a solution: dtml-var "'\''"dtml-var "_.string.replace(description ,'\n','br')" sql_quotedtml-var "'\''", Kind of ugly, but it works. I imagine there

RE: [Zope] Collector status on password change bug?

2000-05-24 Thread Brian Lloyd
I see that the "Can't change User Roles without their Password" bug mentioned in: http://classic.zope.org:8080/Collector/1102/view http://classic.zope.org:8080/Collector/1134/view http://classic.zope.org:8080/Collector/1138/view (etc) is still in 2.1.6

[Zope] The agony of the ZOPE Documentation

2000-05-24 Thread jiva
I'm sorry, but I have to say, the ZOPE documentation, despite efforts to improve it, is absolutely, positively horrible. Not because the content isn't there, but because the tools to access it simply suck. I can type in searches on both zope.org and zdp.zope.org and though I KNOW the information

[Zope] RE: [Zope-Moz] Good news for Zope/Mozilla efforts!

2000-05-24 Thread Paul Everitt
David was going to check to see if the embedded Python could import C extensions. If it could, I know of a little object publishing environment that could run in Mozilla. :^) --Paul -Original Message- From: Martijn Pieters [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 24, 2000

Re: [Zope] The agony of the ZOPE Documentation

2000-05-24 Thread Chris Withers
[EMAIL PROTECTED] wrote: I'm sorry, but I have to say, the ZOPE documentation, despite efforts to improve it, is absolutely, positively horrible. Not because the content isn't there, but because the tools to access it simply suck. Gotta agree with this :( Additionally, the zdp web site is

[Zope] RE: [Zope-Moz] Good news for Zope/Mozilla efforts!

2000-05-24 Thread Michael McLay
David Ascher writes: There are two levels of integration of other scripting languages, one easier than the other. We'll be tackling the ability to make XPCOM components in Python and Perl first. Would you please expand on the "make XPCOM components" task. By this are you adding new

Re: [Zope] Importing a 2.1 .zexp file into 2.2

2000-05-24 Thread Chris Withers
Kevin Dangoor wrote: STRONGError Type: InvalidObjectReference/STRONGBR STRONGError Value: Attempt to store a wrapped persistent object/STRONGBR Apparently storing a wrapped object is a security hole, I bumped into a post about it in the collector after searching for ZCatalog... So,

[Zope] Reloading products

2000-05-24 Thread Seb Bacon
newbie time: I'm trying to write a product AlbumImage which extends Image to include a thumbnail. I was determined to slog it out without begging for help, but I've come up against a very strange brick wall. I'm getting problems with an import statement at the beginning of my product from

[Zope] Re: [ZDP] Re: [Zope] The agony of the ZOPE Documentation

2000-05-24 Thread Maik Roeder
Hi ! Chris Withers wrote: [EMAIL PROTECTED] wrote: I'm sorry, but I have to say, the ZOPE documentation, despite efforts to improve it, is absolutely, positively horrible. Not because the content isn't there, but because the tools to access it simply suck. Gotta agree with this :(

Re: [Zope] Reloading products

2000-05-24 Thread Chris Withers
Seb Bacon wrote: (n.b. is there any way of reloading a product without the tedium of stopping and starting zope?) There is a very-alpha product for doing this floating around on the zope-dev list. check the archives... Chris ___ Zope maillist -

[Zope] RE: [Zope-Moz] Good news for Zope/Mozilla efforts!

2000-05-24 Thread David Ascher
Hi Michael -- Would you please expand on the "make XPCOM components" task. I could, but you ask all the right questions, so I can just answer those. By this are you adding new components, written in Python, that will be accessible through the XPCOM interface? Yes. Would these components

RE: [Zope] 2.1.4 to 2.1.6 nightmare

2000-05-24 Thread Brian Lloyd
Finally it works. Thanks. Do you know why DigitalCreations haven't release a patch? Dunno :S I guess i'm not the first one getting mad with 2.1.6. Had us fooled for about a week :( I think it's all fixed in 2.2 anyway, which may be why no patch was released... That's

[Zope] E-Commerce solution using Python and Zope.

2000-05-24 Thread Jilani Khaldi
Hi All, do you know about something written in Python Zope for e-commerce solutions? Thanks. Jilani -- jk ___ http://space.tin.it/scuola/jkhaldi FreeBSD ~ The Power To Serve ___ Zope maillist -

[Zope] M$soft

2000-05-24 Thread Luis Cortes
Hello, Is anybody bold enough to try Zope with ODBC to an ACCESS database? How about a Micosoft's SQL? Have you had any success with either? What would you recommend?? Regards, Luis. -- == Luis Cortes

[Zope] Site search

2000-05-24 Thread Nolan Darilek
I followed the helpful instructions in the Z Catalog tutorial concerning adding searching to my site, and it works, though not in the way that I'd like. I've added the raw field to the list of searched indices, and chosen to only index DTML documents. Yet, all of my searches seem to be case

[Zope] ZOPE ITALIAN Mailing List

2000-05-24 Thread Marco Mariani
Sorry for bothering you. This is a one-time spam. A dozen people are being mailed in the back (blind carbon copy :-) I'd like to know if there's a need for an italian Zope list. Altough I'm OK reading or writing english, such a list could free some CPU cicles from my brain that I can devote to

Re: [Zope] M$soft

2000-05-24 Thread Jonothan Farr
Is anybody bold enough to try Zope with ODBC to an ACCESS database? I wrote a Jet database adapter so you can skip the ODBC and go straight to access. http://www.zope.org/Members/jfarr/Products/ZJetDA/ SQL server is a different story. --jfarr "Perl is worse than Python because people wanted

Re: [Zope] Subclassing from Custom Python Classes

2000-05-24 Thread Pete Kazmier
Thank you for the useful information!! I do have one more question regarding your persistence comments. How does using a temporary name notify the Zope persistence machinery that self.map has changed? Doesn't 'self.map=m' do nothing in Python if one already did a 'm=self.map'? In the end,

Re: [Zope] The agony of the ZOPE Documentation

2000-05-24 Thread mindlace
[EMAIL PROTECTED] wrote: I'm sorry, but I have to say, the ZOPE documentation, despite efforts to improve it, is absolutely, positively horrible. Not because the content isn't there, but because the tools to access it simply suck. I can type in searches on both zope.org and zdp.zope.org

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

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.

[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

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

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 the

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* because

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 the

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

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 some

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

[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

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]

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: URL http://www.zope.org/Members/michel/Projects/Interfaces/ObserverAndNotificat ion Please comment, either here or in the wiki. Is this only for events

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 that

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

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 found