[Zope-dev] RE: [Zope] Please test this Zope 2.2 beta 1 ZSQLMethods fix...

2000-06-25 Thread Brian Lloyd
I think that you have hit it on the head - we're trying *hard* to make Zope harder to fool :^) Try adding the following to your class statement, for example: class MyClass: __allow_access_to_unprotected_subobjects__=1 Just a question: Is this documented somewhere.. I've

[Zope-dev] ZPatterns alpha 4 released (was Re: ZPatterns bug. Very serious.)

2000-06-25 Thread Phillip J. Eby
ZPatterns 0.4.0 alpha 4 has been released, fixing the bugs described below. I will be away from e-mail most of this coming week. If when I get back there isn't a pile of new bug reports, I'll upgrade ZPatterns to beta status. On Friday, Ty completed a project using LDAP and ZPatterns' "generic

[Zope-dev] The new SiteAccess and __no_before_traverse__?

2000-06-25 Thread Christian Scholz
Hi! I am playing around with SiteAccess and Zope 2.2b1 right now and I wonder if it's still possible to disable SiteAccess (actually an AccessRule) by using __no_before_traverse__? It seems not to and I am a bit trapped right now.. ;-) Even deleting SiteAccess from the Products-Directory didn't

[Zope-dev] Re: The new SiteAccess and __no_before_traverse__?

2000-06-25 Thread Evan Simpson
- Original Message - From: "Christian Scholz" [EMAIL PROTECTED] I am playing around with SiteAccess and Zope 2.2b1 right now and I wonder if it's still possible to disable SiteAccess (actually an AccessRule) by using __no_before_traverse__? It seems not to and I am a bit trapped right

[Zope-dev] Re: The new SiteAccess and __no_before_traverse__?

2000-06-25 Thread Christian Scholz
Hi! - Original Message - From: "Christian Scholz" [EMAIL PROTECTED] I am playing around with SiteAccess and Zope 2.2b1 right now and I wonder if it's still possible to disable SiteAccess (actually an AccessRule) by using __no_before_traverse__? It seems not to and I am a bit

Re: [Zope-dev] Re: The new SiteAccess and __no_before_traverse__?

2000-06-25 Thread Martijn Pieters
On Sun, Jun 25, 2000 at 10:10:22PM +0200, Christian Scholz wrote: This has changed, and I need to make it clearer in the documentation. There is no longer a global "disable all __before_traverse__ hook" URL. Instead, there are specific SiteAccess object-disabling environment variables.

Re: [Zope-dev] Re: The new SiteAccess and __no_before_traverse__?

2000-06-25 Thread Evan Simpson
- Original Message - From: "Martijn Pieters" [EMAIL PROTECTED] This is because the README still points to SiteAccess version 1 documentation... Add a '2' to the word SiteAccess in the URL.. Ethan, could you also use Structured Text in the README? IIRC this should be possible, you can

[Zope-dev] calling external method from external method

2000-06-25 Thread Robert Roberts
Group, How do I call one external method from another external method? Here is what I mean: The user has entered the id of valid external method in a form field. (This is during setup of a Product and is not accessible anonymously) At a later point, an external method is running (part of the

Re: [Zope] Virtual hosting on Linux: what's needed in BIND?

2000-06-25 Thread Petru Paler
On Sun, Jun 25, 2000 at 12:16:18AM -0700, Hung Jung Lu wrote: For Zope/SiteAccess to work with virtual hosting, something needs to be done at the Linux BIND level. But I would like to know what exactly. Is it as simple as adding a whole bunch of cname lines into the database file? Yes.

RE: [Zope] 2.2.0b2 dies in Windows NT4

2000-06-25 Thread Brian Lloyd
I've tried this again. When I access the manage page, an Import/Export tab at folder / comes up, and then Python.exe dies with an NT exception which is a stack overflow :-( Same thing happened with 2.2.0b1. Graham, Do you have another (clean, preferably SP4) NT machine available to

[Zope] geting the type of an object from within dtml ???

2000-06-25 Thread Thierry Nabeth
Hello, I have unsuccessifully been trying to figure out ou to get the type of an object from withing html. for instance: dtml-var meta_type does not return the correct type. Python is supposed to have a function type(object) that return the type, but I was not able to find a way to call it.

RE: [Zope] Please test this Zope 2.2 beta 1 ZSQLMethods fix...

2000-06-25 Thread Brian Lloyd
I think that you have hit it on the head - we're trying *hard* to make Zope harder to fool :^) Try adding the following to your class statement, for example: class MyClass: __allow_access_to_unprotected_subobjects__=1 Just a question: Is this documented somewhere.. I've

Re: [Zope] Can not add Zope Tutorial with 2.2

2000-06-25 Thread Martijn Pieters
On Sun, Jun 25, 2000 at 10:15:21AM -0400, Brian Lloyd wrote: in preparation for the LinuxTag 2000 i tried to add the Zope Tutorial to Zope 2.2.0b2 (and fresh CVS versions of the last three days) but i get the following error (i think it's the same error as Oleg mentioned): Error

Re: [Zope] Can not add Zope Tutorial with 2.2

2000-06-25 Thread Jochen Knuth
Hi Martijn, Brian, Martijn Pieters wrote: On Sun, Jun 25, 2000 at 10:15:21AM -0400, Brian Lloyd wrote: in preparation for the LinuxTag 2000 i tried to add the Zope Tutorial to Zope 2.2.0b2 (and fresh CVS versions of the last three days) but i get the following error (i think it's

Re: [Zope] 99.9% CPU usage (0.1% brain usage)

2000-06-25 Thread Curtis Maloney
On Sat, 25 Mar 2000, Kevin Smith wrote: bannerexchange dtml-var standard_html_header h2dtml-var title_or_id/h2 p !-- bannerexchange code -- /p dtml-var standard_html_footer Oops! Strange.. I'm sure I've had Zope 2.1.3 come up with an infinite recursion error. I'm on

[Zope] Generating products that perform a smart clone of a master site?

2000-06-25 Thread Hamish Lawson
I'm exploring the use of Zope for creating learning environments in higher education. One of the requirements is for a tutor to be able to create a mini site that includes static files along with more active objects like discussion boards. Furthermore they need to be able to make different

Re: [Zope] 2.2.0b2 dies in Windows NT4

2000-06-25 Thread Graham Chiu
In article [EMAIL PROTECTED] , Brian Lloyd [EMAIL PROTECTED] writes (1) should be fairly simple to diagnose. If you install a fresh, clean b2 on your NT box and start it with the *default* database and _no_ third party products installed, do you get these odd crashes? If not, then the next

[Zope] Zope 2.2b2 security conundrum

2000-06-25 Thread Jay, Dylan
I am playing with ZDP-Tools which are ZClassed based. When I try to add a new object I get security failure. H2Zope Error/H2 PZope has encountered an error while publishing this resource. /P PSTRONGUnauthorized/STRONG/P You are not authorized to access emmanage_editProperties/em.

Re: [Zope] Zope 2.2b2 security conundrum

2000-06-25 Thread Bill Anderson
"Jay, Dylan" wrote: I am playing with ZDP-Tools which are ZClassed based. When I try to add a new object I get security failure. H2Zope Error/H2 PZope has encountered an error while publishing this resource. /P PSTRONGUnauthorized/STRONG/P You are not authorized to access

Re: [Zope] Re: SiteAccess 2.1.6

2000-06-25 Thread ethan mindlace fremen
"Wright, Geoff" wrote: Oleg Broytmann writes: I am using SiteAccess and 2.1.6 at iMeme, and they play fine together. This is one success story among millions failures. I certainly would not upgrade to 2.1.6. Oleg, you may indeed have had problems with SQL methods, but if you can

Re: [Zope] ZPhotoAlbum

2000-06-25 Thread ethan mindlace fremen
Mechtild Hofmann wrote: Hello, I have a Problem with "Photo". When I will add one, I get the message: The _imaging C module is not installed I have installed an folder .../lib/Python/Pil ... It is not enough. But I don't know, where I found _imaging C and which file does it use. You

Re: [Zope] HTML Editors that recognize DTML (was bastardized form of XML)

2000-06-25 Thread ethan mindlace fremen
[EMAIL PROTECTED] wrote: OK, now the same question (what HTML editor understands / can be made to understand DTML), but rund on Linux instead of Windows? Right now, I use vi. I'll have to try the vim ftp plugins I've seen on the list. Anything else that works? you can extend vim to tag

Re: [Zope] DTML syntax' not OO?

2000-06-25 Thread ethan mindlace fremen
"Coleman, Bryan" wrote: DTML syntax' not OO? Coming from python trying to learn DTML is very awkward. It seems that there is a different way of doing everything and this has been very frustrating. Is there an underlying theme to the syntax I am not picking up on or was this not a concern

Re: [Zope] Disabling tracebacks

2000-06-25 Thread ethan mindlace fremen
Matt Behrens wrote: That's cool, but that just comments out the tracebacks. How can I make them disappear entirely? Or is that code hacking :-) (I just noticed zope.org is just commenting them too...) http://zope.nipltd.com/public/lists/zope-archive.nsf/ByKey/ECACFFAB06D4E55E I think

Re: [Zope] geting the type of an object from within dtml ???

2000-06-25 Thread ethan mindlace fremen
Thierry Nabeth wrote: for instance: dtml-var meta_type does not return the correct type. dtml-var "meta_type" works. You can also use things like dtml-in "objectValues(['DTML Document'])" hope that helps, -- ethan mindlace fremen Zopatista Community Liason

Re: [Zope] geting the type of an object from within dtml ???

2000-06-25 Thread alan runyan
I have unsuccessifully been trying to figure out ou to get the type of an object from withing html. are you talking about a ZOPE object? remember if you are a DTML Method your 'meta_type' will return the container object (it doenst have its own namespace) you could try dtml-with object

[Zope] 2.2.0b2 and ZSQL method and Zcatalog

2000-06-25 Thread Bak @ kedai
hi all, i've upgraded my site to 2.2.0b2. done light testing. here's what don't work -ZSQL method. got len() of unsized object. T.J. Mannos (http://zope.nipltd.com/public/lists/zope-archive.nsf/242bb7cc2b2c343d802568ab003585d4/4b91e7d30d1d29dd8025690700511980?OpenDocument) mentioned that we

RE: [Zope] (no subject)

2000-06-25 Thread Jay, Dylan
-Original Message- From: Shalabh Chaturvedi [mailto:[EMAIL PROTECTED]] Sent: Friday, June 23, 2000 5:19 PM To: Jay, Dylan; [EMAIL PROTECTED] Subject: Re: [Zope] (no subject) Hi: Could you give an equivalent using the current dtml tags? dtml-if X a href="a_url" /dtml-if

RE: [Zope] (no subject)

2000-06-25 Thread Jay, Dylan
-Original Message- From: Marco Mariani [mailto:[EMAIL PROTECTED]] Sent: Friday, June 23, 2000 9:54 PM To: Jay, Dylan; [EMAIL PROTECTED] Subject: Re: [Zope] (no subject) On Fri, Jun 23, 2000 at 04:32:39PM +1000, Jay, Dylan wrote: It seems to me that a few tweaks to the

RE: [Zope] (no subject)

2000-06-25 Thread Jay, Dylan
-Original Message- From: Dieter Maurer [mailto:[EMAIL PROTECTED]] Sent: Saturday, June 24, 2000 8:11 AM To: Jay, Dylan Cc: '[EMAIL PROTECTED]' Subject: Re: [Zope] (no subject) Jay, Dylan writes: Here's a feature I just submitted to the collector. It seems to me that a

RE: [Zope] ProxyPass

2000-06-25 Thread RC Compaan
Thanks Pierre This is a relief, I really didn't want to switch back to pcgi. I have worked a little bit with the rewritemodule but if anybody has an example on how to do this it would really be helpfull. Roché use the rewriterule module, with the [P] flag this is very powerfull (a little