Re: [Zope-dev] more on keyword indexes

2000-12-17 Thread Dieter Maurer
Josh Zeidner writes: OK. Is it possible to query keyword indexes for several keywords at once? Not that I know of. You either have to extend ZCatalog or wait some time. There are different people working on ZCatalog enhancements. Again, I am reporting a bug You already know the

Re: [Zope-dev] Problem in current CVS

2000-12-17 Thread Dieter Maurer
Jimmie Houchin writes: I just updated my current CVS build of Zope2. ImportError: cannont import name end_of_header_search This may be the effect of a fix for a problem discussed recently in "zope-dev": Zope looked for "/head" and added it, if not present. Unfortunately, it

Re: [Zope-dev] IE5 / Medusa bug?

2000-12-17 Thread Dieter Maurer
seb bacon writes: IE does not get last 11 bytes - it's always the last 11 bytes that are missing, however large the page is - I've sent exact copies of the HTTP headers to the server, using telnet, and there's no problem there I made the experience that IE is very

Re: [Zope-dev] urllib not available in Python Scripts?

2000-12-17 Thread Evan Simpson
From: "Itai Tavor" [EMAIL PROTECTED] import urllib urllib.__allow_access_to_unprotected_subobjects__ = 1 Ok, this is simple enough, and it works. But... it opens access to everything in urllib. For now, the best way is to use a dictionary of names, like this: import urllib

Re: [Zope-dev] Re: ZPatterns, ObjectDomain, UML and all that.....

2000-12-17 Thread Itai Tavor
Hi Itai, Ok.. I'm working an DumbZPatternsExample V3.0 so this is exactly the sort of conversation that needs to take place for me. ;-) Godd to hear that (both that the discussion is helping you, and that you're working on a new dumb example :-) ) It seems to me that when you want a

Re: [Zope-dev] urllib not available in Python Scripts?

2000-12-17 Thread Itai Tavor
Evan Simpson wrote: From: "Itai Tavor" [EMAIL PROTECTED] import urllib urllib.__allow_access_to_unprotected_subobjects__ = 1 Ok, this is simple enough, and it works. But... it opens access to everything in urllib. For now, the best way is to use a dictionary of names, like this:

Re: [Zope-dev] ZPatterns, ZClasses, Specialists: Assigningresponsibilities

2000-12-17 Thread Itai Tavor
Itai Tavor wrote: I have the following ZClasses, with matching Specialists: Product, Graphic, Order, OrderLineItem. When a customer adds a product to their order, they have to provide a graphic file which will be printed on the product (imagine buying a lunch box with your cat's photo on

Re: [Zope] ZPatterns

2000-12-17 Thread Steve Alexander
Steve Alexander wrote: You've described the Model-View relationship. The Controller part is where ZPatterns gets interesting; you can use SkinScript to do a load of validation on your data, all in one place, in a fairly specific and declarative language, which gets applied on commiting

Re: [Zope] ZCatalog raises index out of range exception error

2000-12-17 Thread Dieter Maurer
Stefan H. Holek writes: Do you have a SiteRoot-ed environment? I believe I saw this error when trying to use the Catalog in a SiteRoot-ed folder... No solution, sorry ;) We use the Catalog together with a SiteRoot without problems. I remove the host part of the URL before I index

Re: [Zope] Upload file size

2000-12-17 Thread Dieter Maurer
[EMAIL PROTECTED] writes: There's a way to get the size of a file uploaded in a form before write it? I am not sure, what type of object is used at the base of "FileUpload" objects (to give them there file like behaviour). If this a "cStringIO" objects, they may have a "len" attribute. This

Re: [Zope] Manage tar-file and store them externally

2000-12-17 Thread Dieter Maurer
[EMAIL PROTECTED] writes: This is a multi-part message in MIME format. --=_NextPart_000_00BC_01C0676C.125CBB90 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Please do not send MIME messages to this list! I cant to manage Files

Re: [Zope] skinscript and ZSQL

2000-12-17 Thread Steve Spicklemire
Hi Aaron, Since we communicated privately and I now have a much better understanding of your problem, I realized that my last message to the list was unclear so I thought I'd take a moment to try to clarify the 'gotchas' that got you, as I see them, so that other folks might not so easily

[Zope] Windows NT: Changing default TCP port

2000-12-17 Thread Steve Smith
Simple question (I presume): How do I change the Zope service under Windows NT to listen on port 80 (instead of 8080). Steve Smith ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML

Re: [Zope] Windows NT: Changing default TCP port

2000-12-17 Thread Paul Browning
--On 17 December 2000 23:24 +1100 Steve Smith [EMAIL PROTECTED] wrote: Simple question (I presume): How do I change the Zope service under Windows NT to listen on port 80 (instead of 8080). A brute force way is to edit z2.py (at the top of your Zope installation). Change this line: # Port

RE: [Zope] ZPatterns

2000-12-17 Thread Max M
From: Steve Alexander I found your discussion of ZPatterns terms very thought-provoking. Thanks. The first positive comment about it :-) Your reply seems thorough. I will read it through in a day or two. (Has a deadline right now.) Max, I'm extremely impressed! When I first read through your

[Zope] LoginManager - logging out

2000-12-17 Thread Aleksander Salwa
I used this code in my "logoutForm" to logout user in my old setup (LoginManager-0_8_7a1, ZPatterns-0-4-2a1 and Zope 2.2.1): dtml-call "AUTHENTICATED_USER.logout()" It doesn't work when using LoginManager-0-8-8b1 + ZPatterns-0-4-3b2 + Zope 2.2.4. I've found a work-around: dtml-call

Re: [Zope] SiteAccess and Roles

2000-12-17 Thread The Doctor What
* Michael Bernstein ([EMAIL PROTECTED]) [001214 01:06]: I read your access rule, and it seems like you've got it set up to ignore the gTLD, so that www.gerf.org and www.gerf.com etc. get routed to the same object automatically. Is that correct? Yes. I have several sites that use that

[Zope] Re: running zope with OpenBSD 2.8 i386

2000-12-17 Thread Ragnar Beer
I still got it under construction. Zope shouldn't work with Python 1.6 so I removed the package and downloaded the python 1.5.2 sources you ./configure --with-thread to have threads enabled and that's it. Runs beautifully but I didn't have time to install Zope so far. It's running very well

Re: [Zope] Re: running zope with OpenBSD 2.8 i386

2000-12-17 Thread Luke Tymowski
At 06:25 PM 2000/12/13 +0100, you wrote: My question is: Did someone of you got zope running with obsd 2.8? The documentation of zope says it runs in any case with 2.7 and python 1.6 You cannot run Zope with OpenBSD 2.8. Zope triggers an obscure bug in the threading library that comes with 2.8.

[Zope] how can you tell who created an object in Zope?

2000-12-17 Thread Chalu Kim
I have started building asset management/role-based publishing system for multimedia application. It struck me that I could not tell who created objects in the first place. I see in undoable_transaction "user_name" by following UndoForm. I was building author into a few Z classes we fashioned

RE: [Zope] LoginManager - logging out

2000-12-17 Thread Chalu Kim
No, you are right. It does not work. It is because LM's default login method is Basic. Basic logout does not work because of Basic authentication and that the browser caches the credential. This means unless you shut down your browser, whatever you do, you are back to square one. The remedy is

[Zope] Zope counters @netcraft

2000-12-17 Thread Cees de Groot
In the interest of getting Zope into the picture, I'm registering some 5,700 sites I just brought up at Netcraft. Every little bit helps, they say... -- Cees de Groot http://www.cdegroot.com [EMAIL PROTECTED] GnuPG 1024D/E0989E8B 0016 F679 F38D 5946 4ECD 1986 F303 937F E098

Re: [Zope] Fw: Zope.org feedback

2000-12-17 Thread Bill Anderson
Loren Stafford wrote: Just for your entertainment - Original Message - From: "Charles Knerr" [EMAIL PROTECTED]; "Webmaster" [EMAIL PROTECTED] To: "Loren Stafford" [EMAIL PROTECTED] Sent: December 15, 2000 10:54 PM Subject: Zope.org feedback URL:

Re: [Zope] Fw: Zope.org feedback

2000-12-17 Thread Bill Anderson
Bill Anderson wrote: ... The archives show that Loren was using this term for this usage by nearly a month. if nothing else, the timing of the application coinciding with the introduction of the term by Loren is at best suspicious. In fact, it occurs on the very day that Loren made the

[Zope] Copying a Zope Site

2000-12-17 Thread Mohan Baro
Hi everyone Currently I am using the RPM version of ZOPE(2.2.2) from Jeff Rush. I have installed the current verion 2.2.4 non RPM version. I want to transfer my files from websites products from the current site to the new install. Which files and directories do I copy?. The RPM versions

RE: [Zope] LoginManager - logging out

2000-12-17 Thread Aleksander Salwa
On Sun, 17 Dec 2000, Chalu Kim wrote: No, you are right. It does not work. It is because LM's default login method is Basic. Basic logout does not work because of Basic authentication and that the browser caches the credential. This means unless you shut down your browser, whatever you do,

[Zope] Creating tables from ZSQL methods..?

2000-12-17 Thread Lee
I have a ZSQL method, createClassTable, where the paramter 'classCode' is used to name the table: create table dtml-sqlvar classCode type=string ( matric float, fname varchar, lname varchar, .. etc ) Is there anyway to execute this in a DTML document 'on the fly'? I

Re: [Zope] Fw: Zope.org feedback

2000-12-17 Thread Michael Bernstein
Bill Anderson wrote: Bill Anderson wrote: ... The archives show that Loren was using this term for this usage by nearly a month. if nothing else, the timing of the application coinciding with the introduction of the term by Loren is at best suspicious. In fact, it occurs on the very

Re: [Zope] Fw: Zope.org feedback

2000-12-17 Thread Andrew Kenneth Milton
+---[ Michael Bernstein ]-- | | Federal registration is not required to establish rights in a trademark. | Common law rights arise from actual use of a mark. Generally, the first | to either use a mark in commerce or file an intent to use application | with the Patent

Re: [Zope] How to make two racks work under one specialist?

2000-12-17 Thread Dirksen
Hi Steve, Both racks are set to be loaded by accessing 'id', which, as you guessed right, don't appear in handling attributes list! This is the simplified skinscript in maleMemberRack: WITH getMale(self.id) COMPUTE original_object=RESULT WITH self.original_object COMPUTE name=id,

[Zope] Creating attributes in ZClass instances

2000-12-17 Thread David Bustos
I have a ZClass named Event. Event objects need to keep a list of people signed up for them, so they had a lines property named 'people'. But lines properties have odd semantics, and I want to store arbitrary objects rather than strings (i.e. it shouldn't be edited through the web like a lines

Re: [Zope] LoginManager - logging out

2000-12-17 Thread Aleksander Salwa
I used this code in my "logoutForm" to logout user in my old setup (LoginManager-0_8_7a1, ZPatterns-0-4-2a1 and Zope 2.2.1): dtml-call "AUTHENTICATED_USER.logout()" (I assume this code is correct, as it is included in default logoutForm in LoginManager.) It doesn't work when using