Re: [Zope-dev] Zope 2.1.6 DateTime bug: daylight saving time not handled -- with patch

2000-05-29 Thread Steve Alexander

Dieter Maurer wrote:
 
 The Zope 2.1.6 DateTime module does not recognize daylight saving time.

You might find Shane Hathaway's revision of DateTime.py useful.

  http://www.zope.org/Members/hathawsh/DateTime.py

It corrects many rounding errors, as well as the problems with daylight
saving time.

I believe it is the version that will be in Zope 2.2

--
Steve Alexander
Software Engineer
Cat-Box limited

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




Re: [Zope-dev] Data.fs corruption (reproducable)

2000-05-29 Thread Dr. Peer Griebel

FYI: I managed to solve the problem. I simply took the third parameter
out of the parameter list and initialized the variable inside the
function:

def FormatPreis( v, n=2, thou=regex.compile(
   "\([0-9]\)\([0-9][0-9][0-9]\([,.]\|$\)\)").search)

becomes

def FormatPreis( v, n=2 )

The new code is a little bit less efficient. But this doesn't hurt us.

Special thanks to Pavlos Christoforou [EMAIL PROTECTED]!

-- 
connection reset by
  Peer

___
Dr. Peer Griebel  Tel. +49 7581 4831 23
Geschäftsführer   Fax. +49 7581 4831 11
Knoll Informationssysteme GmbH   http://www.knoll-is.de
Dreiköniggasse 17   mailto:[EMAIL PROTECTED]
88348 Saulgauprivat: mailto:[EMAIL PROTECTED]

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




Re: [Zope-dev] Memory 2.1.4-2.1.6 a.k.a. how to get objects out ofthe cache

2000-05-29 Thread Stuart 'Zen' Bishop

On Sat, 27 May 2000, Eric Sattler wrote:

 I do see GenericUserFolder and SQLSession objects with the
 Control_Panel_Debug screen, and they do not seem to go away.  I wrote
 a simple python script to do nothing more than authenticate (log in)
 using the GenericUserFolder method docLogin.  The memory usage quickly
 grows out of control.  After waiting 15 minutes(my cookie timeout),
 no decrease in memory usage.  The objects are still in the cache also. 

Phillip J. Eby identified a memory leak in GenericUserFolder over the 
weekend. I'm just downloading LoginManager now to see if I can steal 
their fix :-) (Oh... thats easy. Just search for 'Waaa!')

There is also a good chance that this is also causing the SQLSession
leak - GUF is maintaining a reference to REQUEST (in a nice circular
way causing the memory leak), and REQUEST maintains a reference to
the SESSION, so the SESSION won't be freed.

I should have a patch available shortly. I would appreciate people
who know how to drive the debuggers better than I confirming that
the leak is gone.

/me hops on the 'real garbage collection for Python' bandwagon

-- 
Stuart Bishop  Work: [EMAIL PROTECTED]
Senior Systems Alchemist   Play: [EMAIL PROTECTED]
Computer Science, RMIT University





___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




[Zope-dev] New GUF (1.2.3)

2000-05-29 Thread Stuart 'Zen' Bishop

I think I've fixed the memory leak identified over the weekend in GUF. 
This leak may also have caused {SQL,FS}Session to leak through no fault of
their own. Could people who are experiencing the problem try out the
new version and let me/zope-dev know the results. I'll announce the release
on zope.org soonish, giving the guinee^h^h^h^h^h^hzope-dev members a
chance to give it a poke.

-- 
Stuart Bishop  Work: [EMAIL PROTECTED]
Senior Systems Alchemist   Play: [EMAIL PROTECTED]
Computer Science, RMIT University


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




[Zope-dev] Really buggy digest software

2000-05-29 Thread Dieter Maurer

Dear administrators,

the mailing list digests are really buggy.
I have reported some problems some days ago.

Today, I ran against a new problem:

  I got "Zope-Dev digest, Vol 1 #543 - 20 msgs" 6 times and 
  "Zope digest, Vol 1 #801 - 57 msgs" twice.


Maybe, you should consider replacing this software by
another mailing list management system.


Dieter


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




Re: [Zope-dev] Memory 2.1.4-2.1.6 a.k.a. how to get objects out of the cache

2000-05-29 Thread Eric Sattler

Shane Hathaway wrote:
 
 Stuart 'Zen' Bishop wrote:
  /me hops on the 'real garbage collection for Python' bandwagon
 
 Have you looked at this?
Yes, I actually built, installed and enabled it.  It doesn't seem
to have a major impact on my problems at least...neither does Zen's
latest set of fixes.  I enabled Neil Schemenauer's fixes, rebuilt 
python, and then tried tracking through chunks of the CPickleCache
code.  There did not seem to be any hanging python references.  I 
believe the problem to be circular zope references on a higher level.

I could be wrong though.  The gc code for cPickleCache.c is not trivial,
and I believe there is something wrong there, but have not proved it
yet.  This is the code that determines when things are removed from the
zope cache.

The wierd thing is that in my case, I am not really writing anything
to the Zope db.  Everything is stored externally in a postgres database.
I am using GUF, and SQLSession though.  

Could it be that connection objects are not being cleaned up properly?
As far as I understand it, connection objects are containers for zope
objects
for the duration of that request.

At least in the case of postgres 6.5.3 there was some connection memory
leaks, so I did try postgres 7.0, it solved some of postgres's problem
but not zope's.

sorry for rambling, just trying to get all of the tidbits that I know
out there, maybe someone will see something.

eric.


 
 http://www.enme.ucalgary.ca/~nascheme/python/gc.html
 
 I'd like to know how successful this project is.  I wonder whether it
 would have an issue with ExtensionClass instances (one of the
 foundations of Zope).
CPickleCache
 
 Shane
 
 ___
 Zope-Dev maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope-dev
 **  No cross posts or HTML encoding!  **
 (Related lists -
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope )

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




Re: [Zope-dev] Calling DTML methods from Python

2000-05-29 Thread Kevin Dangoor

I believe this is in the Collector... My guess is that no one has yet
figured out a good way to make the client and namespace be passed in
automatically. This may not be desirable anyhow, because there may be times
when you want to change the client... I've actually done this once or twice.

I guess there could be something like dtml-var fooMethod params="x,y,z".
This is another one of those things that trips up newbies almost
universally, so a good solution here could really help...

Kevin

- Original Message -
From: "Chris Withers" [EMAIL PROTECTED]
To: "Zope-Dev Mailing List" [EMAIL PROTECTED]
Sent: Monday, May 29, 2000 12:32 PM
Subject: Re: [Zope-dev] Calling DTML methods from Python


 On more of a ranting rather than a genuine question note,

 Why does this _horrible_ syntax for calling methods with parameters
 still have to be used?

 dtml-[whatever] "someFunc(_.None,_,[parameters])"

 *blech*

 Chris



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




Re: [Zope-dev] Calling DTML methods from Python

2000-05-29 Thread Chris Withers

Kevin Dangoor wrote:
 I believe this is in the Collector... My guess is that no one has yet
 figured out a good way to make the client and namespace be passed in
 automatically. This may not be desirable anyhow, because there may be times
 when you want to change the client... I've actually done this once or twice.

Is it just me or is there a lot of confusion between the terms
namespace, self, client, and the REQUEST object (which, unlike it's name
implies, seems to contain a lot more than stuff relating to the HTTP
request, like the RESPONSE object, for example ;-)

Perhaps this could be shaken down and then, a first for the Zope
community I believe ;-), _documented_ somewhere!!!

cheers,

Chris

PS: what is the client anyway? what exactly is in _? why is the RESPONSE
object an attribute of the REQUEST object?!

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




Re: [Zope-dev] Calling DTML methods from Python

2000-05-29 Thread Andrew Wilcox

Is it just me or is there a lot of confusion between the terms
namespace, self, client, and the REQUEST object (which, unlike it's name
implies, seems to contain a lot more than stuff relating to the HTTP
request, like the RESPONSE object, for example ;-)

Perhaps this could be shaken down and then, a first for the Zope
community I believe ;-), _documented_ somewhere!!!

Well, as far as I've been able to figure out.  But everybody correct me
where I get it wrong:

When a DTML Document is called from the web, it gets itself as the client
argument and a namespace as the second argument.  Note that it gets itself
twice: first as the standard Python object oriented "self" argument and
then as the client argument.

I seem to recall there's some magic in there where the the object is
wrapped in an acquisition class so that it can do a self.REQUEST, but I'm
not sure.

Any DTML methods called by the first object get None passed in as the
client argument.  Importantly, DTML methods do not lookup variables in
themselves (i.e. from the Python "self"), but only from the namespace.  The
original object has been added to the namespace at this point so these
called methods are able to access things.

An example would be if you had a DTML method called "doit" sitting in a
folder next to "standard_html_header".  Because doit acquires from its
container, you could say "doit.standard_html_header" from Python because
standard_html_header is a property of the containing folder.  But using
"dtml-var standard_html_header" from inside doit only works if
standard_html_header is available in the namespace.

External methods add more fun :-).  As noted in the documentation, the
enclosing folder will be passed in automatically if you call the first
argument "self" (and you pass in yourself one fewer argument than the
function calls for).  Note this is NOT the standard python object oriented
"self" argument, which would be the external method sitting in the ZODB if
anything, but the enclosing folder.  You do have to call it "self" or you
don't get anything.  The "self" argument is able to acquire REQUEST so you
can say "self.REQUEST", but you don't get a namespace automatically.




___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




Re: [Zope-dev] Calling DTML methods from Python

2000-05-29 Thread Rik Hoekstra

Is it just me or is there a lot of confusion between the terms
namespace, self, client, and the REQUEST object (which, unlike it's name
implies, seems to contain a lot more than stuff relating to the HTTP
request, like the RESPONSE object, for example ;-)

Perhaps this could be shaken down and then, a first for the Zope
community I believe ;-), _documented_ somewhere!!!


OK, I'll set up a DTML Quick Reference on the ZDP site right now! It's link
is

http://zdp.zope.org/portals/beginners/DQR

We should be able to get this in place. Contributions sought!


Rik


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




Re: [Zope-dev] Expression syntax for sort= attribute in dtml-in .. tag.

2000-05-29 Thread Shane Hathaway

Adam Karpierz wrote:
 
 It's very, very...  great news that Ross Lazarus's multikey
 sort patch for dtml-in tag is included in current Zope CVS
 and will be included in Zope 2.2.
 
 dtml in "foo" sort=akey,anotherkey
 
 But for me one important thing is very missed.
 Possibillity of use expression syntax for sort= attribute.
 
 Maybe syntax:
 dtml in "foo" sort="expression_which_returns_sort_keys_string"
 would be possible ?
 
 eg.
 dtml in "foo" sort="fun()"
 where fun() will returns appropriate Python string
 eq. 'firstname,surname,height, width,weight'  :)

It wouldn't be very difficult to do, but I wonder whether you (Adam) may
have developed such a patch already?  It would sure speed along the
process.

Shane

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




Re: [Zope-dev] Z SQL: optional isn't?

2000-05-29 Thread Dieter Maurer

Kyler B. Laird writes:
  I'd like to build a Z SQL method for *many*
  people to use to list courses that we offer.
  I don't want to require that all queries
  using it understand all of the columns, but
  I do want to be able to modify the query in
  many ways.
  
  This works only if I provide at least an empty
  string for all values.  If I don't provide a
  value at all for one of the arguments, I get
   Error, Bad Request: ['version'] 
You want to use "default values" in your SQL method argument list.

The details are described in "ZSQL/ZSQL.2.5.2.html".

You already got this advice. You failed, because you used
the wrong kind of quotes (i.e. single rather than double quotes).
Quote from "ZSQL2.5.2.html":

 See Database method input argument format: Argument name and type are
 separated by a colon. A equal sign separates the default value from
 the name and type. The default value is a string representation of the
 desired value. If the default value contains spaces, or is an empty
 string, then it must be surrounded by double quotes.)

 Pattern:name:type="default"

Dieter

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




Re: [Zope-dev] Z SQL: optional isn't?

2000-05-29 Thread Kyler B. Laird


On Mon, 29 May 2000 21:56:33 +0200 (CEST) you wrote:

  Error, Bad Request: ['version'] 
You want to use "default values" in your SQL method argument list.

The details are described in "ZSQL/ZSQL.2.5.2.html".

What's the URL for this?  I'm looking through the
pointers from the documentation page and only
finding
http://www.zope.org/Documentation/Guides/ZSQL-HTML/ZSQL.1.5.2.html
I even tried a search and only came up with ZSQL
1.* hits.

Quote from "ZSQL2.5.2.html":

 See Database method input argument format: Argument name and type are
 separated by a colon. A equal sign separates the default value from
 the name and type. The default value is a string representation of the
 desired value. If the default value contains spaces, or is an empty
 string, then it must be surrounded by double quotes.)

This is not the same functionality as is provided
by the "optional" attribute.  How would I use it
with an integer, for example?  I don't want a
default value; I want the option of not having
the value set at all.

I like the optional attribute.  I'd like to see
it do more than sit idle in the code.

--kyler

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




[Zope] Duplicate messages

2000-05-29 Thread Chris McDonough

Sorry about the continued dupes folks, I'm trying to flush the sendmail
mqueue on the mail list server, and its processing rules are not as
smart as I would have hoped.  Hopefully once the flush is done we'll be
back to normal...

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] M$soft

2000-05-29 Thread Henny van der Linde

Hi,



 Henny, thanks for your answer.

 In fact, my problem is another thing. I have Zope works fine with
 PostgreSQL, I want to do the oposite direction, I want that the
 SQL-server send information to the PostgreSQL. After that Zope will have
 to access de SQL-server to input information.

You got me lost there. What are you trying to do? Besides that: questions
about trying to establisch some sort of communication between PostgreSQL and
SQL-server seems, in my opinion, offtopic in this forum. It has nothing to
do with Zope.

 Well, I'm in the first step and I fighting with the pgsql to able some
 odbc conection. Your tip will help me in the second step (hehe).

I'm glad to be of some help.

 Thanks again, and if you know something to help me, please mail me.

I know nothing about PostgreSQL, and I  haven't the faintest idea what you'r
trying to accomplisch. So for the moment I doubt that I can help you futher
in your quest.

Regards,

Heny van der Linde
Leiden University



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Another question

2000-05-29 Thread Patrick J.M. Keane


By default, when a new instance of a ZClass is created, it is dropped
into the same directory as the calling forms and instance creation
methods... Is there an easy way to designate the final location for the
instance.  Say, as an example that I had administrative methods and
documents all under foo/admin, but wanted new products to be placed in a
parallel directory such as foo/toys, so that the permissions could be
properly set for admin, allow just managers to access those methods,
while letting the results show publicly in foo/toys?

Thanks
pk



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




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

2000-05-29 Thread Terry Kerr

Graham Chiu wrote:

 
 these problems were fixed...it was only a problem initially caused by an
 upgrade.
 

 Hi,

 A couple of other things.  On your front page, the non-hilighted 'demo'
 image is broken.  If you go to www.adroit.com there are more broken images.
 You may not be seeing them if they're in your cache.

 Also, your shopping cart is still broken.

 Try this

 1. select an image and place into cart.
 2. go to check out
 3. don't enter any details and click on buy
 4. It then asks for credit card details - when it shouldn't really allow you
 this far
 5. Then just keep backing out and the cart empties out :-(

 I downloaded the latest checkout but haven't had to a chance to see where
 the bug is.


Ok...I found the bug that allows you to buy without entering any details  I can
fix it.

Yes, after you have entered the checkout, you cannot back out.  This was just
overlooked...it will be fixed.


 Otherwise it looks quite good, though I would prefer a solution that uses a
 relational database to save data. ( My own Zope Ecommerce site has about
 24,000 items which would be a bit painful to add items using a through the
 web interface. )


We didn't use a relational database because it is way too is too complex for
the intended use of the product.  The idea behind e-tailer was to have an
ecommerce product which is extremely simple and quick to setup.   Setting up a
shop is as simple as adding an e-tailer from the manage screen of a folder.  It
takes less that 5 minutes to have the shop fully setup and ready to go and
accepting secure credit information.  I don't know of any other ecommerce
products that are that easy to setup.   Besides, there are no easy ways to
manipulate an SQL backend like we do with the e-tailer catalog.  Things like
adding and remove product properties, and giving properties to categories that
all the products within that category will aquire, and having products and
categories aquiring template styles, etc.  This is all very difficult if not
impossible to acheive with a flat relational database.

We never intended for e-tailer to hold 24000 items!  Although i dont see any
problem with this.  We have done some tests with over 5 cataloged items in
a zodb and searching was fine.  I agree that adding 24000 items through a web
interface would be painful ;-)  We need to create a tool that can upload items
from other storages so that this kind of process can be speed up.

Having said all that, we are looking at possibly integrating a backend
relational database.

Any more feedback is greatly appreciated! ;-)

terry



 ---
 Graham Chiu
 http://www.compkarori.co.nz/index.php
 http://www.compkarori.com/dynamo -- The HomeBuilt Dynamo
 http://www.compkarori.com/dbase -- The dBase Bulletin

 
 Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

--
Terry Kerr ([EMAIL PROTECTED])
Adroit Internet Solutions Pty Ltd (www.adroit.net)
Phone:   (03) 9563 4461
Fax: (03) 9563 3856
Mobile:  0414 938 124




___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] PROPOSAL: Online chat with Jim and Paul

2000-05-29 Thread Martijn Pieters

On Sun, May 28, 2000 at 07:56:42PM +0100, Steve Alexander wrote:
 Paul Everitt wrote:
  I propose an IRC chat on Wednesday with Jim Fulton and me.  
 
 Try and pick a time that's not *too* late at night for us Europeans.

Don't worry, I'll see to that... I live in The Netherlands.

-- 
Martijn Pieters
| Software Engineermailto:[EMAIL PROTECTED]
| Digital Creations  http://www.digicool.com/
| Creators of Zope   http://www.zope.org/
|   The Open Source Web Application Server
-

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Where can I install Zope?

2000-05-29 Thread George Donnelly

it can be run on a virtual host its just that zope is a long running process
and therefore uses up a lot of resources. so some hosts dont like it.

you can search at zope.org for some official zope hosts that will provide
you a vhost account with zope already installed. alternatively if you are
wiling to install maintain etc yourself you can look for a more agreeable
host. i took the second route with csoft.net

be advised tho that installing zope without having root acess is a major
headache

Regards,
GEORGE DONNELLY
[EMAIL PROTECTED]
http://cyklotron.com/
And be on they guard against the good and the just! They would fain curcify
those who devise their own virtue -- they hate the lonesome ones.
--Friederich Nietzsche


 I just found out that I cannot run executable files on my server.  I have a
 9NetAve.net virtual hosting account.  They tell me I cannot run Zope on the
 server.  
 
 Does anyone know this to be true?   (Will not run on a virtual host)  Do I
 have to have my own server?
 
 If so could someone suggest an alternate service or something for me?
 
 
 Thank You
 Darin Mosier


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] test

2000-05-29 Thread Chris McDonough

ignore please

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] RE: problems with NTUserFolder.

2000-05-29 Thread Jay, Dylan

I'm a little confused over this.
From your previous mail I understood that jcNTUserFolder was to be used only
behind IIS. It interpreted the REMOTE_USER var passed in after
challenge/response authentication by IIS and made this into a Zope user.
Now your talking about jcForceAuth and saying that users login using basic
authentication with their NT username and password??

Under what circumstances can you use challenge/response vs basic
authentication?

 -Original Message-
 From: CLAIN Jephte [mailto:[EMAIL PROTECTED]]
 Sent: Saturday, May 27, 2000 12:19 AM
 To: Jay, Dylan
 Cc: '[EMAIL PROTECTED]'
 Subject: Re: problems with NTUserFolder.
 
 
 "Jay, Dylan" a écrit :
  I see how it works now. I installed jcNTUSerFolder but 
 couldn't get it to
  work. I thought it did the challenge response stuff for me. 
 I didn't realize
  it had to go behind IIS. I'll give it a try.
 The challenge/response protocol authentication, as far as I know, is
 specific to microsoft. that's why you have to use IIS for 
 example to do
 the authenticatio for you.
 I don't know of another browsers / ftp clients / mail clients that can
 perform that kind of authentication, beside those from microsoft (IE,
 Outlook, ...)
 
 You may also have a look at
 http://www.zope.org/Members/jephte/jcForceAuth for a way to 
 force users
 to authenticate. they have to identify themselves to browse the site,
 but at least they can use their own nt account/password. be warned
 though: passwords are sent unencrypted over the wire with basic
 authentication.
 
 regards,
 jephte clain
 [EMAIL PROTECTED]
 

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] SV: [Zope] Building ZPyGreSQLDA on Linux

2000-05-29 Thread Magnus Heino (Rivermen)


 Let me try again, does any of you guys have a "config" 
 subfolder inside your 
 /usr/lib/python1.5/ folder? I guess the "config" subfolder 
 maybe an feature 
 from the old python1.5, because in the new python1.5.2 there 
 is no such a 
 folder.
 
 Also, in an error like:
 
 make[1]: *** No rule to make target 
 `/usr/lib/python1.5/config/Makefile', 
 needed
 by `sedscript'.  Stop.

You need to install the python-devel-1.5.2 rpm (or compile and install
python from source).

/Magnus Heino

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] perl for zope: a few last comments and then I'm done

2000-05-29 Thread Roman Milner

OK, I just wanted to say a couple more things about this and then I'll
shut up.  I've given it a lot of thought - trying come up with a way
of looking at it that still makes zope attractive.

So, I started thinking - what if it had been a language that I like
instead of perl.  (lisp, java...)  Also, many people pointed out that
zope already allows methods in other languages. (sql, dtml, xslt).
The thing is - the other languages currently supported address
specific domains.  AFAIK, python is the only "general purpose"
language that zope allows methods in.  And I don't really think there
is much to gain from two tools that do the same thing.  It is sort of
like the perl vs. python philosophy.  Perl - do one thing many
different ways, python - one obvious way to do something.  So, if this
had been a language more pleasing to me, I still think I would be
against it.  IMHO, I think zope should be developled with the python
philosphy as much as possible.  That is one of the reason I chose it.

Also, I don't really think this is about getting access to all the
perl modules.  In truth, python can talk to perl in the same way it
can talk to java, or any language.  Corba, sockets, xml-rpc, any
number of ways.  So, if there was something that perl could talk to
that python can't, or something written in it that you didn't want to
write in python - you could get to it one of these ways, without
having to have actual perl code (or any other language) *inside* your
zope application - which seems to add unneeded complexity.

I agree that this will certainly grow the zope community and that many
perl coders are highly intelligent and helpful.  But I don't think
growth at the expense of complexity is necessarily good.

The idea of perl "black boxes" is nice - but I think not realistic.
People love their favorite languages (including me) and are going to
use it for everything they possible can.  I

I apologize for the emotional bases of my earlier posts. It attests to
my love of zope/python.  About 8 months ago I left a job at a large
corporation where perl was mandated, for a job at a startup where I
was basically allowed to decide what would be used for web development.
That startup now has the largest voice over ip network in the world,
and we are feverishly trying to give our customers a web interface to
the network - using zope.  This announcement made me question my
decision to go with zope - something I thought I would never do.  The
fact is, I think we have too much code written for zope to switch at
this point.

Shutting up now,
^Roman



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Deprecation of dtml-var ?

2000-05-29 Thread Chris Withers

Kevin Dangoor wrote:
 Or, how about a dtml-expr tag (which could even start out as a simple
 synonym for dtml-var) so that people won't be confused about what is
 python and what is a variable lookup with the special calling properties.

This is a great idea :-)

New  Old---
dtml-var x dtml-var x dtml-var name="x"
dtml-expr "x"  dtml-var expr="x" dtml-var "x"

cheers,

Chris

PS: didn't Paul Everitt comment on this in the Perl thread?

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Traceback?

2000-05-29 Thread Chien-Pin Wang


Take off the -D switch in your zope start script.

dtml-var error_tb will let you show traceback programmatically. Believe
me, you will miss them once you turn it off.

Chien-pin

On Mon, 29 May 2000, Patrick J.M. Keane wrote:

 
 I would like to ultimately remove the python traceback error code
 display from messages (printed after standard_html_error fires off).
 However, I'm not sure how to disable this?
 
 Thanks
 PK
 
 
 
 ___
 Zope maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists - 
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope-dev )
 
 


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] zcatalog keyerror 30

2000-05-29 Thread Jonathan Cheyne


AHH!!! So simple, so many weeks of general frustration. Subject to more
continous testing, that seems to have done the trick!

a HUGE thank you.

Jonathan 



On Sun, 28 May 2000, Chris Withers wrote:

 Try the patching described in the following message:
 http://zope.nipltd.com/public/lists/dev-archive.nsf/ByKey/C15EB30D0FAF1057
 
 cheers,
 
 Chris
 
 


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Building ZPyGreSQLDA on Linux

2000-05-29 Thread Daryl Tester

Charlie Derr wrote:

 My problem fits under this subject so i thought i'd hijack it :-]

 I have redhat 6.1, and i've installed and gotten postgresql 7.0  working
 okay (at least i can create tables at a psql prompt and insert data).
[snip]
 it failed with an error saying that libpq-fe.h and libpq/libpq-fs.h weren't
 found

Caveat: I'm running 6.5.2.  First, try running:

   find /usr/include/ -name "libpq*"

and see if it actually reports that you have those files present on
your system.  You haven't said a lot (read: anything) about how
you installed postgresql, so I'm assuming that for whatever reason
you may be missing your postgresql development environment (for the
record, RedHat installs those include files in /usr/include/pgsql/,
but you'll need the libraries as well).

Regards,
  Daryl Tester

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Expression syntax for sort= attribute in dtml-in .. tag.

2000-05-29 Thread Agnieszka Karpierz

It's very, very...  great news that Ross Lazarus's multikey
sort patch for dtml-in tag is included in current Zope CVS
and will be included in Zope 2.2.

dtml in "foo" sort=akey,anotherkey

But for me one important think is very missed.
Possibillity of use expression syntax for sort= attribute.

Maybe syntax:
dtml in "foo" sort="expression_which_ruturns_sort_keys"
would be possible ?

eg.
dtml in "foo" sort="foo()"
where foo() will returns appropriate Python string
eq. 'firstname,surname,height, width,weight'  :)

I hate constructions like this:

dtml-if something
  dtml in "foo" sort=key1,key2,key3
dtml-elif something
  dtml in "foo" sort=key1,key3,key2
dtml-elif something
  dtml in "foo" sort=key2,key1,key3
dtml-elif something
  dtml in "foo" sort=key2,key3,key1
dtml-elif something
  dtml in "foo" sort=key3,key1,key2
dtml-else
  dtml in "foo" sort=key3,key2,key1

...

/dtml-in

What we think about ?.

Adam Karpierz
[EMAIL PROTECTED]










___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] SQL-Query works with MySQL-monitor but not with ZMySQLDA

2000-05-29 Thread Andy Pahne



Hi, there,

if I use my mysq-monitor to execute the following query, everything works
fine:

 SELECT YEAR(START_DATE) FROM EVENT;

but it doesn't work via the ZMySQLDA!?!

Here's the traceback:

Error, exceptions.KeyError: unhandled

Traceback (innermost last):
  File /zope/ttl/Zope-2.0.1-src/lib/python/ZPublisher/Publish.py, line 214,
in publish_module
  File /zope/ttl/Zope-2.0.1-src/lib/python/ZPublisher/Publish.py, line 179,
in publish
  File /zope/ttl/Zope-2.0.1-src/lib/python/Zope/__init__.py, line 201, in
zpublisher_exception_hook
(Object: sql_get_years_unique)
  File /zope/ttl/Zope-2.0.1-src/lib/python/ZPublisher/Publish.py, line 165,
in publish
  File /zope/ttl/Zope-2.0.1-src/lib/python/ZPublisher/mapply.py, line 160,
in mapply
(Object: manage_test)
  File /zope/ttl/Zope-2.0.1-src/lib/python/ZPublisher/Publish.py, line 102,
in call_object
(Object: manage_test)
  File /zope/ttl/Zope-2.0.1-src/lib/python/Shared/DC/ZRDB/DA.py, line 316,
in manage_test
(Object: sql_get_years_unique)
  File /zope/ttl/Zope-2.0.1-src/lib/python/Shared/DC/ZRDB/DA.py, line 297,
in manage_test
(Object: sql_get_years_unique)
  File /zope/ttl/Zope-2.0.1-src/lib/python/Shared/DC/ZRDB/DA.py, line 401,
in __call__
(Object: sql_get_years_unique)
  File /zope/ttl/Zope-2.0.1-src/lib/python/Products/ZMySQLDA/db.py, line
191, in query
KeyError: (see above)





Andy Pahne
ap@net22

net22 GmbH
Bad Meinberger Strasse 1
32760 Detmold
Tel.: 05231 - 580 640



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] SQL-Query works with MySQL-monitor but not with ZMySQLDA

2000-05-29 Thread Tino Wildenhain

Hi Andy,



Andy Pahne wrote:
 
 Hi, there,
 
 if I use my mysq-monitor to execute the following query, everything works
 fine:
 
  SELECT YEAR(START_DATE) FROM EVENT;
 
 but it doesn't work via the ZMySQLDA!?!
 
 Here's the traceback:
 
 Error, exceptions.KeyError: unhandled
 
Please try:

SELECT YEAR(START_DATE) AS START_YEAR FROM EVENT

in your query.
(I hope MySQL supports renaming)
The problem seems zope does not get a name for the calculated column.

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Traceback?

2000-05-29 Thread Chris Withers

Martijn Pieters wrote:
 If you switch debug mode off, tracebacks will be included in error messages as
 HTML comments, thus rendering them invisible from the unsuspecting site
 visitor.

Is that true even if you override standard_error_message?

cheers,

Chris

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] ANN: Perl For Zope

2000-05-29 Thread Martijn Faassen

Chris McDonough wrote:
 Isn't this covered in the FAQ?

The FAQ wasn't referred to directly in the original announcement; there
was a web page with a FAQ but my mail message was already gone before
I read the FAQ.

 Honestly I'm sort of surprised that there is such a strong reaction to
 this.  When you talk about Perl for Zope, you're talking about three
 things:

It wasn't that strong a reaction; I just think Perl is scary. :) I also
think DTML is scary! Expressing my feelings in this is not meant to
be a 'strong reaction'; I wasn't complaining (this time :), sorry if it
seemed like that.

 Perl through the web methods
 Perl external methods
 Glue code to make these things work properly
 
 I presume you're worried about #3.  Actually, I shouldn't presume that,
 I don't know what you're actually worried about.  Umm... what *are* you
 all worried about?

I think it'd be mostly glue code, changes to the Zope core, possible
side-effects on this change on the Python part (in the sense of "well,
we can't do that as that would break Perl compatilility"), all before
interfaces have stabilized. The interfaces project is _very_ important,
and as another poster expressed, afterwards it's fine to add stuff to
the core. Before, it's fairly scary.

Anyway, I wasn't that scared. I just don't want to _see_ the Perl support;
don't want to have to think about it at all. Cool for the Perl folks, 
but I just don't want to deal with the consequences myself. :)

This is probably because it isn't a feature that helps me any; I'm
willing to deal with the consequences of features that I'm interested in, so
this is in part selfish.

Perhaps more focus on COM/CORBA style component integration could also
mitigate this problem? Imagine we build such a future system; if the Perl
system goes *around* such an interface, we'll end up with more complex code.

Regards,

Martijn


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




RE: [Zope] Traceback?

2000-05-29 Thread Marcus Collins

 -Original Message-
 From: Chris Withers [mailto:[EMAIL PROTECTED]]
 Sent: 29 May 2000 14:01
 To: Martijn Pieters
 Cc: Patrick J.M. Keane; [EMAIL PROTECTED]
 Subject: Re: [Zope] Traceback?
 
 Martijn Pieters wrote:
  If you switch debug mode off, tracebacks will be included 
  in error messages as HTML comments, thus rendering them 
  invisible from the unsuspecting site visitor.
 
 Is that true even if you override standard_error_message?

I believe so, and empiracally this appears to be the case. From
HTTPResponse.py:

def _traceback(self,t,v,tb):
tb=self.format_exception(t,v,tb,200)
tb=join(tb,'\n')
tb=self.quoteHTML(tb)
if self.debug_mode: _tbopen, _tbclose = 'PRE', '/PRE'
else:   _tbopen, _tbclose = '!--',  '--'
return "\n%s\n%s\n%s" % (_tbopen, tb, _tbclose)

which is appended to the body of the error message when an exception occurs.

hth,

-- Marcus

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Re: [Zope-Annce] ANN: Perl For Zope

2000-05-29 Thread Martijn Faassen

Jimmie Houchin wrote:
 I would like to echo what Dieter wrote here.
 
 We need to encourage people who write products or other extensions to
 Zope in writing cleanly, clearly defined extensions which can be used in
 a black box manner.

Sure, but we also need to encourage people to study each other's products,
and debug them, and implement patches. Open source development and all.

 If each product had a management interface in which it's options could
 be configured and it had a clear api. We could treat these as black
 boxes regardless of implementation language.

So we need interfaces, and a more componentized architecture.

I personally don't _want_ black box products. One one side, most products
should work as if they're black boxes. Clear API, managable through the
web, and so on. On the other side however, in practice I'll want to
take a look at the product source once in a while, to fix something, or
to find out how it's working.

The addition of the Perl stuff will be bad if the Zope source will be
hacked up in various places in order to support this. I can be _good_ if
this means a focus on providing clean interfaces first, and a more
componentized architecture. I.e. there's a focus on integration with
*any* external language through some generalized API. Not just Perl 
specific changes.

Regards,

Martijn


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] ANN: Perl For Zope

2000-05-29 Thread Martijn Faassen

Andrew Kenneth Milton wrote:
 +[ Chris McDonough ]-
 | This is pretty silly.
 
 I agree, it got silly about 8 hours ago.
 
 I don't think I've ever seen paranoia and religious fervour mixed in
 quite the same way before. Anyone would think that people think that
 python is inadequate as a language.

Right; it's more likely the Perlers that do come in (if they will at all!)
will learn Python.

Legitimate worry 1: If the Perlers *do* come in and *don't* switch to
Python soon, we'll run into Zope sites half written in Perl. That may
be unpleasant for people to deal with.

This is possibly not a big deal; it's unlikely the Perl group will
become dominant anyway. This does beg the question why Perl support
is put in at all; if the DC people believe this *too*, they're adding
a feature that's not even intended to be used as a feature, but is more
like a marketing device for Zope.

Legitimate worry 2: In order to support Perl, the Zope Python sources
will be hacked up and certain new limitations/weirdnesses are introduced.

This could be mitigated by *generalizing* the interface with other
languages. Not just put in Perl specific patches. Clean interfaces and
componentization are the key here.

Regards,

Martijn


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Re: [Zope-Annce] ANN: Perl For Zope - why I'm bummed

2000-05-29 Thread Martijn Faassen

Oleg Broytmann wrote:
  Where do you intend on going? If there was something better out there
  you'd be humping its leg already.
 
Thanks goodness, I am not using Zope on production servers. I use Zope
 only to experiments and understand the technology. Looked good until
 yesterday.

This is an overreaction. :)

Zope still only uses Python in the core (with some C thrown in to support
the Python). This won't change. I don't even think it *can* be changed;
Perl product support would probably be such a pain in the neck that even
Jim Fulton would say it's 'difficult' (and not just 'tricky', which is
Fultonese for 'very difficult' already).

[snip]
Of course, if perl wouldn't hurt Zope as much as I am afraid, I'll
 return to considering to use Zope on production servers.

I don't think Perl will hurt Zope a lot. My main worry is that some part of
the Zope python sources will have to be less clean in order to get Perl
support. Along with weird side effects that may occur.

But, since that source is open source, if it becomes too messy, someone
will eventually stand up and clean it up. The more I look at DTML the more
I want to clean *that* up, or better yet, reimplement it, and at one point, 
given time...

Regards,

Martijn


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Re: [Zope-Annce] ANN: Perl For Zope - why I'm bummed

2000-05-29 Thread Martijn Faassen

Martijn Pieters wrote:
[snip]
 Now, please, can we stop this whole silly argument? Can't we talk about old
 terminal types or something, instead?

That invocation only works on comp.lang.python. :)

Regards,

Martijn


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )





Re: [Zope] Re: [Zope-Annce] ANN: Perl For Zope - why I'm bummed

2000-05-29 Thread Martijn Faassen

Paul Everitt wrote:
[snip]
 As the person that made the decision, I can at least testify that no
 ulterior motives were behind it.  Still, Zope is a community thing, and
 we here at DC need our heads bopped on a regular basis, lest we ever
 forget it.
 
 Consider our heads bopped. :^)

And this is why I like and trust DC. You realize your heads get bopped. :)
As long as you do, even if you do continue to disagree with that weird
Martijn Faassen guy, I have no big worries. As long as the community
keeps learning (DC included), we're fine.

And-now-back-to-our-whining-about-Perl-ly yours,

Martijn


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Why Perl for Zope is good

2000-05-29 Thread Vitaly Osipov

Hello all,

seems like the passions have calmed down more or less, but i'd like to add
my two czech crowns :) Sorry in advance.

flame on

Actually from the beginning I did not understand why people are arguing on
perl vs python - it is not the main issue... You see, DC is a _commercial_
thing. I do not know exactly why they took their main product- Zope public,
but it's not hard to guess  - like with all open-source products, it helps
in lots of ways:

a). you have free testers
b). you increase the exposure of your product (mostly to enthusiasts who
will not buy your product anyway :) )
c). while your product remains too criptic,buggy and hard-to use for the
newcomer - you can earn money on "consulting" - i.e. creating sites for some
companies who dont want to mess with it, but are innovative enough.

(so the  below is mostly about DC, not about community :) )

From: "Itamar Shtull-Trauring" [EMAIL PROTECTED]


 1. Zope is complicated
 2. Adding Perl to Zope makes it more complicated
 3. Most of us here have some Zope knowledge
 4. All the Perl programmers who will flock to Zope won't have this
knowledge
 5. Zope with Perl will be even more popular

 RESULT:  We can get rich as Zope consultants.

So adding perl is fine from all 3 points of view - lots of new people, lots
of exposure and product becomes even more strange-featured... Personally I'd
like to see just more consistent and clear and full documentation on
existing product(I wonder if people at DC could make an agreement with some
company on documenting the system? This surely will help in achieving goal
(b) - the easier it is to use, the more people will use it - it is strong
enough to be used as a middleware in simple-to medium projects... but with
lots of Zope experts hanging around - what will DC do for earning money?
:) )

DC wants to move fast and take all the opportunities it can - to have some
part of the middleware market e.g. With Zope in its' current state it is not
possible (imho) - startups without money would better hire some php
programmer and write all in old good php (or perl :) ) - because it is
always better to know if it will work tomorrow the same way it works today,
rich ones will buy something like new Oracle web development/publishment
suits - they are not so expensive though - for the same reason (and Oracle
is _much_ more powerful).

Maybe everntually Zope will become some powerful and popular tool, maybe it
will be just very complicated software which only DC knows how to deal with
(still earning a good money producing terrific sites on this platform:) )

flame off

regards,
Vitaly
Telenor Czech Republic

P.S About Oleg's (Broytmann) remarks on giving up zoping - it is actually a
big loss for zope, because AFAIK the company he works for owns some 10 news
information sites which are  biggest online information sites in Russia - I
guess half of  Russian Internet community reads their news

P.P.S sorry for language - I am native Russian living in Czech Republic,
speaking English to Norvegians and sometimes not very successfully trying to
read docs in Japanese... :)

(all opinions expressed here are my own and have nothing to do with my
employer)



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] A similar issue with Perl for Zope

2000-05-29 Thread Martijn Faassen

Michel Pelletier wrote:
[snip]
 This is such a good point I wanted to share it with the Zope community
 as well.  The language issue is minor to the need for a definate object
 model with clear interfaces.  It shouldn't matter if the core of Zope is
 written in Python or FORTH, from your perspective and the perspective of
 your language the model and interfaces should be well definded.

While I completely agree that identifying clear interfaces and object
models is extremely important, it does matter what the core of Zope
is written in, and not just for DC. I *like* it that Zope's sources are
written in Python, and not in, say, C++, or Perl, or Forth. That's because
Python's far more readable to me than those languages. This means that
reading the source can aid me in understanding, and I can potentially go
in and change stuff.

Now of course we may say that, with clear documented interfaces and a clear
documented object model, I'll need to go into the source far less, at least
to gain more understanding. That would be nice of us to say, but then we'd
have to look at the current state of the documentation as well as the
current definition of the interfaces and object model; they're rather
lacking.

So, while I agree we should strive for these things, we should also not
forget that implementation languages *do* matter in the real world, and
due to the behavior of the real world and real people, this won't be changing 
anytime soon.

Don't-forget-open-source-ly yours,

Martijn


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Traceback? Codechange!

2000-05-29 Thread Tino Wildenhain

Hi,

Marcus Collins wrote:
 
  -Original Message-
  From: Chris Withers [mailto:[EMAIL PROTECTED]]
  Sent: 29 May 2000 14:01
  To: Martijn Pieters
  Cc: Patrick J.M. Keane; [EMAIL PROTECTED]
  Subject: Re: [Zope] Traceback?
 
  Martijn Pieters wrote:
   If you switch debug mode off, tracebacks will be included
   in error messages as HTML comments, thus rendering them
   invisible from the unsuspecting site visitor.
 
  Is that true even if you override standard_error_message?
 
 I believe so, and empiracally this appears to be the case. From
 HTTPResponse.py:
 
 def _traceback(self,t,v,tb):
 tb=self.format_exception(t,v,tb,200)
 tb=join(tb,'\n')
 tb=self.quoteHTML(tb)
 if self.debug_mode: _tbopen, _tbclose = 'PRE', '/PRE'
 else:   _tbopen, _tbclose = '!--',  '--'
 return "\n%s\n%s\n%s" % (_tbopen, tb, _tbclose)
 
 which is appended to the body of the error message when an exception occurs.

This is very ugly imho. It schould be sufficient, if one includes the
traceback-variable into the standard-error where its appropriate.
In the current implementation it will break the HTML-standard with
code outside HTML/HTML and additionally makes it impossible to get
error-messages to picky browsers, such as WAP-devices.

Is it ok if we remove these lines?

Do I have to copy this message to the collector and wait for 
a couple of months or can we do it instantly? ;-)

Regards
Tino Wildenhain

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Re: [Zope-Annce] ANN: Perl For Zope

2000-05-29 Thread Paul Everitt

Martijn Faassen wrote:
 The addition of the Perl stuff will be bad if the Zope source will be
 hacked up in various places in order to support this. I can be _good_ if
 this means a focus on providing clean interfaces first, and a more
 componentized architecture. I.e. there's a focus on integration with
 *any* external language through some generalized API. Not just Perl
 specific changes.

Believe me, the Zope sources are being hacked up more for DOM/XSLT than
for Perl! :^)

Seriously, there aren't any changes to Zope being proposed for Perl
Methods.  Actually, the only changes are positive ones -- a
"Methodgeddon", meaning a Method Armageddon.

The work on XSLT Methods and Perl Methods has exposed a need for a
coherent model between all the methods, particularly how things are
bound.  Thus, the white hot spotlight of bringing in more kinds of
methods have made us look at the cruft and inconsistencies.

--Paul

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Deprecation of dtml-var ?

2000-05-29 Thread Chris Withers

Paul Everitt wrote:
 Shorthand notations are convenient, but when they get inconsistent, you
 wind up with the other P language. :^)

Woudl that be the one we're welcoming into the fold? ;-)

Chris

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




RE: [Zope] Traceback? Codechange!

2000-05-29 Thread Marcus Collins

 -Original Message-
 From: Tino Wildenhain [mailto:[EMAIL PROTECTED]]
 Sent: 29 May 2000 15:44
 To: Marcus Collins
 Cc: 'Chris Withers'; Martijn Pieters; Patrick J.M. Keane; 
 [EMAIL PROTECTED]
 Subject: Re: [Zope] Traceback? Codechange!
 
 Hi,
 
[...]

 This is very ugly imho. It schould be sufficient, if one includes the
 traceback-variable into the standard-error where its appropriate.
 In the current implementation it will break the HTML-standard with
 code outside HTML/HTML and additionally makes it impossible to get
 error-messages to picky browsers, such as WAP-devices.

I second this -- despite the traceback being sometimes crucial to debug
errors, its inclusion after the closing HTML tag goes against the standard.
Furthermore, the traceback *could* sometimes be considered to pose a
security risk, since it exposes the names of methods in the call stack, some
of which should not necessarily be callable through the web. Or am I just
being paranoid?

 Is it ok if we remove these lines?

I think there should be a knob to turn it off... and not for the whole site,
but for a subtree (perhaps even on a folder-by-folder basis). That way, the
folks who develop and deploy on a single Zope server (does anyone do this?)
can keep their tracebacks on sites under development, but get rid of them on
live sites.
 
 Do I have to copy this message to the collector and wait for 
 a couple of months or can we do it instantly? ;-)

*grin*

 Regards
 Tino Wildenhain

-- Marcus

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] WebObjects

2000-05-29 Thread Jason Cunliffe

Hello

Now that Apple has slashed the price of WebObjects from $50,000 to $700, I
am very interested to hear any opinions/experiences of WebObjects.. how does
it compare with Z*** , Man***, Rox**, ColdF* etc
http://www.apple.com/webobjects/

-What are the good ideas?
-What is similar?
-What is different?
-How does WebObjects handle integration with various scripting languages:
Python, Perl etc
-What effect you think Apple's announcement wil have on webapp market and
development?

Thanks in advance for any feedback
- Jason

Jason CUNLIFFE = NOMADICS.(Interactive Art and Technology).Design Director



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Traceback? Codechange!

2000-05-29 Thread Martijn Pieters

On Mon, May 29, 2000 at 04:08:59PM +0200, Marcus Collins wrote:
  This is very ugly imho. It schould be sufficient, if one includes the
  traceback-variable into the standard-error where its appropriate.
  In the current implementation it will break the HTML-standard with
  code outside HTML/HTML and additionally makes it impossible to get
  error-messages to picky browsers, such as WAP-devices.
 
 I second this -- despite the traceback being sometimes crucial to debug
 errors, its inclusion after the closing HTML tag goes against the standard.
 Furthermore, the traceback *could* sometimes be considered to pose a
 security risk, since it exposes the names of methods in the call stack, some
 of which should not necessarily be callable through the web. Or am I just
 being paranoid?
 
  Is it ok if we remove these lines?
 
 I think there should be a knob to turn it off... and not for the whole site,
 but for a subtree (perhaps even on a folder-by-folder basis). That way, the
 folks who develop and deploy on a single Zope server (does anyone do this?)
 can keep their tracebacks on sites under development, but get rid of them on
 live sites.

We should probably switch to error_tb in the default standard_error_message,
including detecting if Zope is running in debug mode and using PRE/PRE and
!-- -- when appropriate. You can then redefine standard_error_message to
exclude the traceback completely if you want to, or only in certain parts of
the site.

Seeing object names in a traceback doesn't necessarily mean that a site
visitor has access to those objects, nor does completely not giving a
traceback protect those objects from being called diectly. Only properly
configured security settings on those objects themselves gives proper
security, and then it doesn't matter wether or not their names are publicly
visible.

  Do I have to copy this message to the collector and wait for 
  a couple of months or can we do it instantly? ;-)

Do you still experience the Collector as black hole? Could you report this to
Tres Savier, the person currently monitoring the COllector and cleaning it
out? Thanks!

In the meantime, please do report this there, this would be a useful change,
if only to let more people understand how to switch tracebacks off..

-- 
Martijn Pieters
| Software Engineermailto:[EMAIL PROTECTED]
| Digital Creations  http://www.digicool.com/
| Creators of Zope   http://www.zope.org/
|   The Open Source Web Application Server
-

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Q: Accessing a ZSQL Method from an External Method

2000-05-29 Thread a . wacknitz

Hi all,

I want to use ZSQL Methods from within External Methods and have already
read the appropriate HowTo but it is somehow vague in some respects and
I have some problems with my adaption.

I have ZSQL methods in a subfolder /SQL, eg. /SQL/sqlZuordnung
My External Method named "extShow" should use the ZSQL method sqlZuordnung:

def Show(self, zuordnungsbereich, zuordnung):
"""Show retrieves some database items."""
res=self.SQL.sqlZuordnung(zuordnungsbereich=zuordnungsbereich,
zuordnung=zuordnung)
fields2index={}
fieldnames=res._schema.items()
for i in range(len(fieldnames)):
fields2index[fieldnames[i][0]]=fieldnames[i][1]
id_val=res[0][fields2index['ID']]
return id_val

First, I want to know how to call this function, especially how to submit
the
correct namespace.
Calling it with dtml-var "extShow(_, zuordnungsbereich, zuordnung)"
results in
an AttributeError (SQL). Here's a TraceBack:
!--
Traceback (innermost last):
  File C:\PROGRA~1\graffias\lib\python\ZPublisher\Publish.py, line 214, in
publish_module
  File C:\PROGRA~1\graffias\lib\python\ZPublisher\Publish.py, line 179, in
publish
  File C:\PROGRA~1\graffias\lib\python\Zope\__init__.py, line 202, in
zpublisher_exception_hook
(Object: ElementWithAttributes)
  File C:\PROGRA~1\graffias\lib\python\ZPublisher\Publish.py, line 165, in
publish
  File C:\PROGRA~1\graffias\lib\python\ZPublisher\mapply.py, line 160, in
mapply
(Object: index_html)
  File C:\PROGRA~1\graffias\lib\python\ZPublisher\Publish.py, line 102, in
call_object
(Object: index_html)
  File C:\PROGRA~1\graffias\lib\python\OFS\DTMLMethod.py, line 150, in
__call__
(Object: index_html)
  File C:\PROGRA~1\graffias\lib\python\DocumentTemplate\DT_String.py, line
502, in __call__
(Object: index_html)
  File C:\PROGRA~1\graffias\lib\python\DocumentTemplate\DT_Let.py, line 145,
in render
(Object: umgebung=quot;this()quot;)
  File C:\PROGRA~1\graffias\lib\python\DocumentTemplate\DT_Util.py, line
335, in eval
(Object: Methoden.extShow(_,'Bereich',Test))
(Info: Test)
  File lt;stringgt;, line 0, in ?
  File
C:\PROGRA~1\graffias\lib\python\Products\ExternalMethod\ExternalMethod.py,
line 248, in __call__
(Object: extShow)
(Info: ((lt;TemplateDict object at 1b97e20gt;, 'Bereich', Test), {},
None))
  File C:\PROGRA~1\graffias\Extensions\functions.py, line 132, in Show
AttributeError: (see above)

--

So, what am I doing wrong here?

TIA,
Andreas
**
This email message has been swept by MIMEsweeper for the presence of
computer viruses.

Francotyp-Postalia AG  Co.


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




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

2000-05-29 Thread Craig Allen

I must apologize in advance, I have not read the entire thread, but
here's my answer to your question:
 So what do you folks think?

My advice: be a benevolent despot.  

I started to get involved with ZDP many months ago, and proposed a
structure for documentation, created a folder hierarchy to support the
proposed framework (some of which was still evident on the ZDP site for
a long time), and generally got zero feedback or support.  My perception
of the problem was that no one was in charge, no one could say yeah or
nay, and no one said "This looks like a good direction for now, let's
pursue it".  Not that I necessarily thought that my work was the
ultimate answer, but no one else was either proposing an alternative or
suggesting needed modification.  Instead, other folks just did their own
thing.

Now it looks like individuals get energized, produce a body of work
(e.g. ZBook, ZQR) and then get burned out.  My suggestions are, in
decreasing preference:
 - consult with experts in learning/documentation design to come up with
a framework for documentation; and/or,
 - find a site, product, book, or documentation set for a comparable
product, and copy ideas from it; and/or,
 - work with ZDP activists and the mailing lists to come up with a
framework, identify materials and formats to fit the framework, identify
gaps, and then start assembling the structure.  This is my least
preferred path just because I'm skeptical that a group effort will move
fast enough.  I recognize that this is counter to Open Source practice,
but I really believe inadequate documentation is the main barrier
between Zope and world domination!

And good luck!  Zope remains a great tool with an excellent user/support
base, let's make it better.

Craig

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Traceback? Codechange!

2000-05-29 Thread Chris Withers

Martijn Pieters wrote:
   Do I have to copy this message to the collector and wait for
   a couple of months or can we do it instantly? ;-)
 
 Do you still experience the Collector as black hole? Could you report this to
 Tres Seaver, the person currently monitoring the COllector and cleaning it
 out? Thanks!

It HAS got a lot better since Tres started, but there's still a load of
cruft in there; stuff that's not completed but is so old that it's now
irrelevant.

A small point, could all searches/browsing/etc all be sorted in reverse
date order?

That way I wouldn't have to trudge through a lot of Zope 1.x problems
just to get to the stuff that's relevant.

On a more radical thought, there was talk a while back of ditching the
collector in favour of a Tracker, whatever happened to that plan?

cheers,

Chris

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Traceback? Codechange!

2000-05-29 Thread Martijn Pieters

On Mon, May 29, 2000 at 04:14:19PM +0100, Chris Withers wrote:
 Martijn Pieters wrote:
Do I have to copy this message to the collector and wait for
a couple of months or can we do it instantly? ;-)
  
  Do you still experience the Collector as black hole? Could you report this to
  Tres Seaver, the person currently monitoring the COllector and cleaning it
  out? Thanks!
 
 It HAS got a lot better since Tres started, but there's still a load of
 cruft in there; stuff that's not completed but is so old that it's now
 irrelevant.
 
 A small point, could all searches/browsing/etc all be sorted in reverse
 date order?

I don't think we are going to make any changes to the collector anymore, see
below.

 That way I wouldn't have to trudge through a lot of Zope 1.x problems
 just to get to the stuff that's relevant.
 
 On a more radical thought, there was talk a while back of ditching the
 collector in favour of a Tracker, whatever happened to that plan?

This is on Ethan's To-Do list at:

  http://www.zope.org/Tracker/9

and because it is on his list, there is no use in maintaining the old
Collector's behaviour.

-- 
Martijn Pieters
| Software Engineermailto:[EMAIL PROTECTED]
| Digital Creations  http://www.digicool.com/
| Creators of Zope   http://www.zope.org/
|   The Open Source Web Application Server
-

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Perl Zope

2000-05-29 Thread Paul Everitt

Chris Withers wrote:
 
 Paul Everitt wrote:
  You're absolutely right on this.  Amos' post recently described the
  various things in various stages of release that should give some hope
  for the situation.  These things really are an improvement.  I'm
  crossing my fingers that this turns into a torrent of material that
  turns an area that is a nightmare into an area of great pride.
 
 What part do you see ZDP playing in this?

This is a tough one to answer, one better left for Amos.  At a high
level, I want to make sure the ZDP has its own identity, and also that
we are taking steps to make a serious difference in the documentation
issue.

How we can best coordinate with the ZDP is an ongoing discussion.

--Paul

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Another question

2000-05-29 Thread Kevin Dangoor

This, or some variation of this, may do the trick (untested):

dtml-with toys
dtml-with "manage_addProduct['YourProduct']"
dtml-call "REQUEST.set('id', 'newid')"
dtml-call "YourZClass_add(_.None, _)"
/dtml-with
/dtml-with

Kevin

- Original Message - 
From: "Patrick J.M. Keane" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, May 28, 2000 6:33 PM
Subject: [Zope] Another question


 
 By default, when a new instance of a ZClass is created, it is dropped
 into the same directory as the calling forms and instance creation
 methods... Is there an easy way to designate the final location for the
 instance.  Say, as an example that I had administrative methods and
 documents all under foo/admin, but wanted new products to be placed in a
 parallel directory such as foo/toys, so that the permissions could be
 properly set for admin, allow just managers to access those methods,
 while letting the results show publicly in foo/toys?
 
 Thanks
 pk
 
 
 
 ___
 Zope maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists - 
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope-dev )
 
 


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] ANN: Perl For Zope

2000-05-29 Thread Paul Everitt


Look, a whole bunch of great questions for Wed's IRC chat. :^)

I propose 1PM Eastern on Wed for the chat.  We'll make a more formal
announcement tomorrow. (Right, Ethan?)

--Paul

Jimmie Houchin wrote:
 
 Are Python Products considered implementation level?
 
 Or another question. What are the current reasons that Perl Products are
 a no no?
 
 Where are the lines for having other languages being first class
 citizens of Zope without them being "implementation languages"?
 
 I think this also goes back to and begs the question of what is core
 Zope and what is built upon it?
 
 This somewhat could be answered by the modularization of Zope and it's
 companion packages.
 
 Just a couple of questions to hopefully clarify things.
 
 Jimmie Houchin
 
 Paul Everitt wrote:
  Bill wrote:
 [snip stuff about Perl's OO model]
  It's funny that you bring this up.  One of the really interesting
 things
  about this project so far is learning about Perl internals.  You're
  description is, apparently, pretty accurate.
 
  However, the way we've done this mitigates the issue in two ways.
 
  First, Perl doesn't need objects to fulfill its job.  Functions are
  bound to the object system.  All the real stuff (persistence,
  transactions, etc.) is in Zope (read: Python).  Honestly, the goal
  really _is_ to make Perl a scripting language for Zope, not an
  implementation language!  The contract says so!
 
  Second, ActiveState will work on improving facilities missing in Perl,
  such as reflection, to support our requirements (e.g. sniffing at
 method
  signatures).
 
  --Paul

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Zope-Edu Wiki

2000-05-29 Thread Shane Hathaway

Your attention please!

The following persons will report at once to the new Zope-Edu wiki at
http://www.zope.org/Wikis/zope-edu .  They will then proceed to the
Contributors page, click the question mark by their name, and enter
biographical information and what projects they are working on related
to Zope in education.  It may be necessary to first log in or create a
new account.

Serge Stinckwich, Timothy Wilson, Rik Hoekstra, Ron Gines, Van Lindberg,
Chris Blackall, Darcy Clark, Chris Abraham, Jim Harrison, Robert Doiel,
Alan Pogrebinschi, Bill Ries-Knight, Jim Washington, Paul Browning, Mark
Levinson, Bryan Hann, Steve Spicklemire, Andrew Bunney, Phil Harris,
Stuart Bishop, David Kankiewicz, LD Landis, Ray Thompson, Alexandre
Ratti, Li Dongfeng, John Wenger, Ibañez Palomar Juan David, Henny van
der Linde, Martin Dougiamas, John Edstrom, Bruno Vernier, Lamar
Zabielski, Kent Tenney, PhilAustin.

They are then requested to add their contributions to any page on the
wiki.  The former Zope-Edu list ( http://pi.slcc.edu/lists/zope-edu )
had a great deal of good ideas which need to be incorporated into the
wiki, ideally by the original posters.

Do not delay, soldiers!

Shane

P.S. I wrote this on Memorial Day. g

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Deprecation of dtml-var ?

2000-05-29 Thread Kevin Dangoor

I sent Brian a message on this, and I just added it to the collector with
the 1 line patch necessary to add dtml-expr as a synonym for dtml-var:

http://classic.zope.org:8080/Collector/1279/view

Kevin

- Original Message -
From: "Paul Everitt" [EMAIL PROTECTED]
To: "Chris Withers" [EMAIL PROTECTED]
Cc: "Kevin Dangoor" [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, May 29, 2000 10:04 AM
Subject: Re: [Zope] Deprecation of dtml-var ""?



 Suggestion: lobby Brian Lloyd about this.  As Chris mentioned, reducing
 the "coefficient of complexity" is something he and I are focused on.

 Shorthand notations are convenient, but when they get inconsistent, you
 wind up with the other P language. :^)

 --Paul

 Chris Withers wrote:
 
  Kevin Dangoor wrote:
   Or, how about a dtml-expr tag (which could even start out as a
simple
   synonym for dtml-var) so that people won't be confused about what is
   python and what is a variable lookup with the special calling
properties.
 
  This is a great idea :-)
 
  New  Old---
  dtml-var x dtml-var x dtml-var name="x"
  dtml-expr "x"  dtml-var expr="x" dtml-var "x"
 
  cheers,
 
  Chris
 
  PS: didn't Paul Everitt comment on this in the Perl thread?
 
  ___
  Zope maillist  -  [EMAIL PROTECTED]
  http://lists.zope.org/mailman/listinfo/zope
  **   No cross posts or HTML encoding!  **
  (Related lists -
   http://lists.zope.org/mailman/listinfo/zope-announce
   http://lists.zope.org/mailman/listinfo/zope-dev )



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Ability to access Perl modules from Zope is good

2000-05-29 Thread Andrew Wilcox

 "The Perl for Zope project brings the worlds of the two most
 important open source programming languages together," stated
 Gisle Aas, Senior Developer, ActiveState. "Python programmers
 will be able to directly take advantage of the large collection
 of reusable Perl program modules, like DBI, found on CPAN.

This is good.  Another trick in the tool bag.

Being able to make use of Perl modules from Python is like the
functionality provided by database adapters: Zope lets me access crufty
old-fashioned relational databases if I need to.



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Zope.org down

2000-05-29 Thread Paul Everitt

Graham Chiu wrote:
 
 Hmm. zope.org has been down most of the afternoon.
 
 Not that Friday afternoon change over to Zeo that they were talking
 about doing ?

Nope, a very odd DNS situation.

--Paul

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Building ZPyGreSQLDA on Linux

2000-05-29 Thread pcm

try

   ZPoPyDA

http://www.mixadlive.com


ftp://ftp.mixadlive.com/pub/zope/ZPoPyDA/ZPoPyDA-0.1.0.tar.gz

Bye 
Paolo Comitini
Mixad Live s.r.l.



 Contacted the author of ZPyGreSQLDA but so far no response...
 
 Hung Jung
 



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Re: [Zope-Annce] ANN: Perl For Zope

2000-05-29 Thread Martijn Faassen

Paul Everitt wrote:
 Martijn Faassen wrote:
  The addition of the Perl stuff will be bad if the Zope source will be
  hacked up in various places in order to support this. I can be _good_ if
  this means a focus on providing clean interfaces first, and a more
  componentized architecture. I.e. there's a focus on integration with
  *any* external language through some generalized API. Not just Perl
  specific changes.
 
 Believe me, the Zope sources are being hacked up more for DOM/XSLT than
 for Perl! :^)

I know; I'm worrying about that too. ;)

 Seriously, there aren't any changes to Zope being proposed for Perl
 Methods.  Actually, the only changes are positive ones -- a
 "Methodgeddon", meaning a Method Armageddon.
 
 The work on XSLT Methods and Perl Methods has exposed a need for a
 coherent model between all the methods, particularly how things are
 bound.  Thus, the white hot spotlight of bringing in more kinds of
 methods have made us look at the cruft and inconsistencies.

That's good news, then! I'll stop worrying for a while. :)

Regards,

Martijn


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] A new python object which analyse HTML files and...

2000-05-29 Thread Oleg Broytmann

On Mon, 29 May 2000, Frederic QUIN wrote:
 I would like to create a python object which :
 * analyse traditional HTML files
 * indexe "IMG" tags and "A" tags
 * replace "IMG" tags by appropriated dtml tags
 * replace "A" tags by appropriated dtml tags
 * create all the resultant objects
 
 Did someone ever do that ? Anyway, if someone with more experience than me,
 have some advices, I'll get them...

   You may start to adapt http://www.zope.org/Members/itamar/load_site to
your needs. Generic HTML parser is already there.

Oleg.(All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] A new python object which analyse HTML files and...

2000-05-29 Thread Andrew Wilcox

At 06:17 PM 5/29/00 +0100, Frederic QUIN wrote:
Hello everybody,

I would like to create a python object which :
* analyse traditional HTML files
* indexe "IMG" tags and "A" tags
* replace "IMG" tags by appropriated dtml tags
* replace "A" tags by appropriated dtml tags
* create all the resultant objects

Did someone ever do that ? Anyway, if someone with more experience than me,
have some advices, I'll get them...

Thanks
Frederic

You might try sgmllib, a sgml parser from the Python library.  (There's
also an HTML parser called htmllib derived from sgmllib, but it tries to
understand all the common HTML tags such as H1, etc.  If you just want to
pass through all tags except all couple specific ones, I found it easier to
use sgmllib).

The sgmllib library, but doesn't produce output, so the hooks you'd add
would be ones to recreate your HTML files from the results of the parsing.
Something like the following:

class MyParser (SGMLParser):

def __init__(self):
SGMLParser.__init__(self)
self._result = ''

def _write(self, data):
self._result = self._result + data

def getResult(self):
return self._result

def unknown_starttag(self, tag, attributes):
r = '' + tag

for attribute in attributes:
(name, value) = attribute
r = r + ' ' + name + '="' + value + '"'

r = r + ''
self._write(r)

def unknown_endtag(self, tag):
self._write('/' + tag + '')

def handle_data(self, data):
self._write(data)

def handle_charref(self, ref):
self._write('#' + ref + ';')

def handle_entityref(self, ref):
self._write('' + ref + ';')

def handle_comment(self, comment):
self._write('!--' + comment + '--')


Then you can add specific handlers to do special things with particular tags:

def do_img(attributes):
   ...write out special DTML code here...




___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] A new python object which analyse HTML files and...

2000-05-29 Thread Itamar Shtull-Trauring

Oleg Broytmann wrote:

  I would like to create a python object which :
  * analyse traditional HTML files
  * indexe "IMG" tags and "A" tags
  * replace "IMG" tags by appropriated dtml tags
  * replace "A" tags by appropriated dtml tags
  * create all the resultant objects

 
You may start to adapt http://www.zope.org/Members/itamar/load_site to
 your needs. Generic HTML parser is already there.

The latest version (1.4.0) stops parsing the HTML after the body tags
because illegal HTML (e.g. because of embedded DTML tags) would cause
problems.  You could turn it back on though if we assume there's no DTML.

And if you do decide to do it add converting file.htm to file_html to your
list - it was one of the feature requests I don't have time to do and would
seem to fit in your list.

-- 
Itamar S.T.  [EMAIL PROTECTED]

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] HTML EDITORS

2000-05-29 Thread Nils Kassube

Bill Anderson wrote:

 GVIM

Yes! This is a powerful editor with an easy-to-use interface
available for every major platform (and a lot of minor ones): 

http://www.vim.org 
http://www.c2.com/cgi/wiki?EmacsVsVi

I use Vim daily on Mac OS, Win98 and Unix (Linux, Slowlaris) 
and love the consistent cross-plattform UI.

Cheers,
Nils



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Traceback?

2000-05-29 Thread Martijn Pieters

On Mon, May 29, 2000 at 05:33:20AM -0400, Patrick J.M. Keane wrote:
 I would like to ultimately remove the python traceback error code
 display from messages (printed after standard_html_error fires off).
 However, I'm not sure how to disable this?

By default Zope is installed to run in debug mode. One of the effects of
running in debug mode is that tracebacks are displayed in error messages as
visible HTML.

If you switch debug mode off, tracebacks will be included in error messages as
HTML comments, thus rendering them invisible from the unsuspecting site
visitor.

To switch debug mode off, you should start Zope without the -D command line
switch. In a stock Zope install, this means editing 'start' (or 'start.bat' on
win32) and removing the flag there.

-- 
Martijn Pieters
| Software Engineermailto:[EMAIL PROTECTED]
| Digital Creations  http://www.digicool.com/
| Creators of Zope   http://www.zope.org/
|   The Open Source Web Application Server
-

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Zope Email (syndication)

2000-05-29 Thread ethan mindlace fremen

Chris Withers wrote:
 
 mindlace wrote:
  I don't quite see why MailHost isn't "low level integration"
 
 Does MailHost do recieves as well as sends?

No, but see below...

  Making Zope an MTA seems like a lot of extra work.  Now, Zope as an IMAP
  server I could get my head around...
 
 Forgive my ignorance, but what is the difference?

An imap server stores the messages that have been recieved.  An MTA
(Mail Transport Agent) goes about sending mail from one place to
another.  If there were an IMAP server in zope, you could "recieve" the
mail as an object in zope, but it would still be delivered to zope by an
MTA.

 Archiving mailing lists shouldn't be a big issue since there are already
 Zope mailing list archives that are searchable in ways currently more
 powerful than ZCatalog has to offer.

Unless you want to extend what you can do with an email.  I would really
like to be able to take emails that people send to zope.org and
propogate them to different sections of the site, for example.
 
 If it's not necessary, then don't do it, but if it is to get true
 mailing of content into Zope then lets get started on it it now so the
 end result arrives sooner...

Based off of what you're saying, I think it would be more appropriate to
try to go for an imap server in zope.  Note that this is non-trivial too
:).

~ethan

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Use of lambda expression in DTML

2000-05-29 Thread Lalo Martins

On Fri, May 26, 2000 at 03:05:14PM -0700, Jonothan Farr wrote:
  In brief: I get a NameError when invoking "filter(...)" from DTML.  I thought
  this was a built-in python method, so I'm a bit puzzled.
 
 Certain built-ins are not available in dtml for security and other reasons,
 filter and lambda are among them. As far as I know, you'll need to use an
 external method to do this or think of another way to do it in dtml.

One big question is: what's wrong with filter, map and lambda?
They can make a lot of code a lot simpler, specially for people
who have a background in functional programming.

IIRC there is nothing wrong with them - only that all builtins
were disabled and some specific few were re-enabled, and then
those three were overlooked.

Count one vote for getting them back (_.lambda, _.filter, _.map
is fine enough, of course).

[]s,
   |alo
   +
--
  Hack and Roll  ( http://www.hackandroll.org )
News for, uh, whatever it is that we are.


http://zope.gf.com.br/lalo   mailto:[EMAIL PROTECTED]
 pgp key: http://zope.gf.com.br/lalo/pessoal/pgp

Brazil of Darkness (RPG)--- http://zope.gf.com.br/BroDar

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] ANN: Perl For Zope

2000-05-29 Thread Lalo Martins

I'd happilly pay a few hundred bucks to be able to use Scheme
(more specifically Guile with GOOPS and perhaps CMH could use
this as an excuse to get finished).

[]s,
   |alo
   +
--
  Hack and Roll  ( http://www.hackandroll.org )
News for, uh, whatever it is that we are.


http://zope.gf.com.br/lalo   mailto:[EMAIL PROTECTED]
 pgp key: http://zope.gf.com.br/lalo/pessoal/pgp

Brazil of Darkness (RPG)--- http://zope.gf.com.br/BroDar

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Q: Using WebDav to edit Zope DTML Methods.

2000-05-29 Thread Graham Heyes

Hello,
   I have been using Zope to set up a new web site for documentation and 
maintainance os a large software project. Until now I have been using a 
combination of LocalFS and ftp to edit content. Neither method is 
perfect especially since I often work from my laptop at home which is on 
the wrong side of the firewall and can't get ftp to work.
   Just the other day I discovered WebDav and life looks much better. I 
can tunnel my connection to port 8080 through ssh and manage my Zope 
site from home. One problem remains:

When I use "get" or "edit" to get a DTML method (web page in my case) 
from the site I get a page with all the DTML tags expanded.  This is 
clearly useless to me since I don't want to edit the rendered DTML but 
the original code. Am I doing something wrong (I hope so) if so what 
should I do?

I am using Zope 1.whatever but also tried Zope2. I am running on RedHat 
Linux 6.1 with Apache web server but I point the WebDAV tools at 
http://localhost:8080/ i.e. the ZServer. I have tried the "cadaver" 
command line tool and "DAVExplorer" java application with the same result.

Thanks in advance for any replies,

 Graham

---

Beware of Geeks bearing GIFS. http://www.jlab.org/coda Jefferson lab DAQ group


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Zope Instability

2000-05-29 Thread Dieter Maurer

Rob Sporleder writes:
  We recently setup a Zope server and it has been running great until this
  morning when it stopped responding, twice. There are no errors, core files
  or indication of a problem except that the server stopped responding to http
  requests. All processes were still running and a simple restart remedied the
  problem both times. Has anybody had any similar problems, advice, etc.
Me, too, I have seen this once:

  Sparc-Solaris 2.7; Zope 2.1.0


I did not investigate the problem, though.

Dieter

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Q: Using WebDav to edit Zope DTML Methods.

2000-05-29 Thread Graham Heyes

 Martijn Pieters wrote:
 
 This is because according to the WebDAV spec, documents are retrieved using a
 plain 'GET' command, which is exactly the same as what browsers do.
 
 However, the spec also provides for a way to find out where to get the source
 of the document found at a specific URL, via the so-called Source Link. Zope
 provides this link, but I have yet to find a client that'll honour it and give
 you easy access to it.
 
 The relevant sections in the WebDAV spec are:
 
http://andrew2.andrew.cmu.edu/rfc/rfc2518.html#sec-5.4
 
 and
  
http://andrew2.andrew.cmu.edu/rfc/rfc2518.html#sec-13.1
 
 Now, I haven't seen either WebDAV client, if they support this feature, please
 let us know!
 
That's OK, it turns out the project that the web site is documenting is 
partly Java so I know a lot of Java. With the info you have given me I  
can probably modify the sources to DAVExplorer so that it gets the 
source rather than the rendered document. I had thought that maybe I was 
missing something in my Zope config. Perhaps it would have been better 
if I had, less work  ;^)

I have been using a very nice HTML editor under Linux, called Quanta+, 
unfortunately it can't open anything except local files. That's fine 
when I'm at work since I can use ZOPEEdit (ftp) or LocalFS. (LocalFS 
doesn't behave well with trees and other navigation products so I try to 
avoid it). The problem is that from home I can't use ftp becaues of the 
firewall. I've tried to tunnel through ssh but that doesn't work for me. 
I've been looking at WebDAV or writing something using ZClient but my 
python is very rusty.

If anyone has any comments or a solution to my problem, editing DTML 
through a firewall using something other than netscape, please let me know.

Regards to all,



 Graham

---

Beware of Geeks bearing GIFS. http://www.jlab.org/coda Jefferson lab DAQ group



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Wiki change notification

2000-05-29 Thread Shane Hathaway

Zopistas,

I had an idea today that I thought was worth trying out.  I added to a
few FrontPage's some HTML which allows you to receive notification every
time any page in a Wiki changes.  It uses the NetMind service.  Just go
to the Interfaces Wiki and enter your e-mail address at the bottom of
the page.

Zope-Edu is also one of the wikis with the new feature.

Shane

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Wiki change notification

2000-05-29 Thread Chris Withers

Shane Hathaway wrote:

[snip wiki change notification]

What's does NetMind actually do?

The problem I see here is getting an email everytime someone hits
update, which can mean you get a storm of emails when a coupla people
edit a Wiki.

I thought of a Zope-based solution for this but haven't had time to
implement, not to mention it requires product that's bust:

The idea is to only get notified once a day when a Wiki _Web_ has been
changed...

The folder the web is in would have a lines-type property containing the
email addresses of everyone 'subscribed' to that web. And a flag called
changed... any page changes, the flag gets set.

Once a day (needs ZScheduler :( ) a method goes and checks the flag,
compiles a message containing links to all the pages that have changed
(including being created or deleted...) and mails it to everyone in the
list.

Anyone want to implement it? ;-)

cheers,

Chris

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Really buggy digest software

2000-05-29 Thread Dieter Maurer

Dear administrators,

the mailing list digests are really buggy.
I have reported some problems some days ago.

Today, I ran against a new problem:

  I got "Zope-Dev digest, Vol 1 #543 - 20 msgs" 6 times and 
  "Zope digest, Vol 1 #801 - 57 msgs" twice.


Maybe, you should consider replacing this software by
another mailing list management system.


Dieter


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Wiki change notification

2000-05-29 Thread Chris Withers

Shane Hathaway wrote:
 Heh heh... that's almost exactly what NetMind does, Chris. g

Cool...

I'm guessing it's not written in Zope though... ;-)

cheers,

Chris

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] GenericUserFolder Bug

2000-05-29 Thread Phil Harris

Hi

I've found a bug in GenericUserFolder.

Basically if you try and do any restriction by domain then it will fail
every time.

The problem is that on line 151 of GenericUserFolder.py, it tries to use
addr_match and host_match, which I assume was meant o be the same as the one
in the standard User.py.

The fix is to copy or import the ones from the standard User.py and then all
is well with the GUF.

For the record, I copied these two lines:

addr_match=regex.compile('[0-9\.\*]*').match #TS
host_match=regex.compile('[-A-Za-z0-9\.\*]*').match #TS

HTH

Phil
[EMAIL PROTECTED]



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] import folder at other place than root

2000-05-29 Thread peter be

Is it possible and how to change the folder that the Zope interface use for importing 
zexp files?

I "host" friends on my Zope site, but I can't let them have access to my import folder 
which is in C:\Program\Zopesite\import
At the moment my friends have to email me their zexp files, if they for example want 
to upload something they've been working on locally.

Can I not edit the line where the Zope source code says that it expects zexp files 
from.
Ex. 
From:
importfolder = C:\Program\Zopesite\import 
To:
importfolder = D:\otherdomain\or\host\folder
Or:
importfolder = "http://www.hostfriends.com/zopeimport"

Ideas?


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Zope Email (syndication)

2000-05-29 Thread ethan mindlace fremen

Chris Withers wrote:

 Which raises the question: What MTA would you use for a Zope IMAP server
 and does it matter? Again, forgive me if that's a stupid question ;-)

I would personally use exim, but I don't think it matters, if zope knows
intelligent things about it's users.  If you wanted to be a relay for a
certain set of users, you'd probably have to authenticate against
ZopeIMAP and have ZopeIMAP tell the MTA who had relay permissions.  
Anyway, that's what I do with cyrus imap.

 Yup, this sounds like mail-in content to me, which is what I'm after :-)

Mee too!
 
 Well, how do we get started? (I may not be the best person as you can
 see from my lack of knowledge in this area ;-)

Michel Pelltier has uploaded some very alpha python imap server code
that we could look at:

http://www.zope.org/Members/michel/MyWiki/IMAPServer

There's also several other open IMAP servers out there for illustrative
purposes.

~ethan

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Use of lambda expression in DTML

2000-05-29 Thread Lalo Martins

On Mon, May 29, 2000 at 09:40:59PM +0200, Martijn Pieters wrote:
 
 I can't comment with authority on why these methods are not accessible, but I
 imagine that they are banned because they'll probably let you lock up Zope in
 one way or another, creating a convenient denial-of-service attack.

If someone can edit arbitrary DTML, there are already easier
ways to cause infinite loops. And these loops don't lock up
Zope, they only eventually raise an exception (granted,
consuming lots of resources in the proccess).

 What I would like to say is that if your application needs lambda, filter or
 map, your code is getting bejond report or presentation generation (for which
 DTML is intended) and in the realm of data manipulation and business rules. In
 this case your code would be much better placed in some form of Method object,
 be that an External, Python, or when ready, Perl Method, or even as a disk
 based Product.

1: This is simply not true, and a very poor excuse for
handicapping the language.

A common example is:

dtml-in "_.map (lambda item: Catalog.getobject (item.data_record_id_),
Catalog (REQUEST)"


I know fetching the actual records from a ZCatalog introduces a
performance penalty, but sometimes it's necessary; there are
times you need to be absolutely sure everything is pushed on
the namespace, including user-defined properties and
sub-objects. This is the case in HackRoll, and I have to use a
very ugly Python Method there (and as PythonMethods don't have
map either, I have to build a list from scratch using for,
which introduces additional penalties as I'm basically
bypassing Python's optimizations).

And _.filter can be a mini-catalog:

dtml-in "_.filter (lambda item: AUTHENTICATED_USER.has_permission ('some_permission', 
item),
objectValues (['Folder'])"


2: If I should be using a Python Method, then Python Methods
should have these forms, and they don't.


3: In short, these excuses are just the fallback (or should I
say Acquired?) excuses used mostly by people who don't know how
to use these very cool features of Python.


[]s,
   |alo
   +
--
  Hack and Roll  ( http://www.hackandroll.org )
News for, uh, whatever it is that we are.


http://zope.gf.com.br/lalo   mailto:[EMAIL PROTECTED]
 pgp key: http://zope.gf.com.br/lalo/pessoal/pgp

Brazil of Darkness (RPG)--- http://zope.gf.com.br/BroDar

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] something missing in my Oracle setup?

2000-05-29 Thread Justin Sheehy

Hello,

I am trying to build the DCOracle module and having trouble right off
the bat.  I have tried both 1.3.0 and 1.3.1 b1 with the same results.

The file src/oci_8.c does an #include "oci.h", but I don't seem to
have a file named oci.h in my oracle install:

$ find $ORACLE_HOME -name '*.h'
/opt/orahome1/network/public/tnsapi.h
/opt/orahome1/network/public/nzerror.h
/opt/orahome1/network/public/nzt.h
/opt/orahome1/otrace/public/epc.h
/opt/orahome1/plsql/public/ociextp.h
/opt/orahome1/precomp/public/sql2oci.h
/opt/orahome1/precomp/public/sqlucs2.h
/opt/orahome1/precomp/public/oraca.h
/opt/orahome1/precomp/public/sqlapr.h
/opt/orahome1/precomp/public/sqlca.h
/opt/orahome1/precomp/public/sqlcpr.h
/opt/orahome1/precomp/public/sqlda.h
/opt/orahome1/precomp/public/sqlkpr.h
/opt/orahome1/precomp/public/a.out.h
/opt/orahome1/precomp/public/limits.h
/opt/orahome1/precomp/public/bits/mathcalls.h
/opt/orahome1/precomp/public/sys/ipc.h

My Oracle install is the 'Programmer' distribution from Oracle 8.1.5.

Do I need the full install, not just the Programmer install, or am I
missing something else?  

I tried using the Setup file for Oracle 8i on Linux that was sent to
this list by Laurent Chane-Chuen-Kee, but that does not have any
effect on the problem.

Thanks,

-Justin Sheehy

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] import folder at other place than root

2000-05-29 Thread Chris McDonough

Peter, you can change this in the Python file
lib/python/OFS/ObjectManager.py here:

def manage_importObject(self, file, REQUEST=None):
"""Import an object from a file"""
dirname, file=os.path.split(file)
if dirname:
raise 'Bad Request', 'Invalid file name %s' % file
file=os.path.join(INSTANCE_HOME, 'import', file)
if not os.path.exists(file):
raise 'Bad Request', 'File does not exist: %s' % file

change the line that says "file = os.path.join(INSTANCE_HOME, 'import',
file) to the location you'd like the file to be imported from.  the
INSTANCE_HOME variable points at the root dir of the zope install. 
Change it to something else... for more info, read the Python docs on
"os.path" at http://www.python.org/doc/current/lib/module-os.path.html

peter be wrote:
 
 Is it possible and how to change the folder that the Zope interface use for 
importing zexp files?
 
 I "host" friends on my Zope site, but I can't let them have access to my import 
folder which is in C:\Program\Zopesite\import
 At the moment my friends have to email me their zexp files, if they for example want 
to upload something they've been working on locally.
 
 Can I not edit the line where the Zope source code says that it expects zexp files 
from.
 Ex.
 From:
 importfolder = C:\Program\Zopesite\import
 To:
 importfolder = D:\otherdomain\or\host\folder
 Or:
 importfolder = "http://www.hostfriends.com/zopeimport"
 
 Ideas?
 
 ___
 Zope maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope-dev )

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Use of lambda expression in DTML

2000-05-29 Thread Chris McDonough

  What I would like to say is that if your application needs lambda, filter or
  map, your code is getting bejond report or presentation generation (for which
  DTML is intended) and in the realm of data manipulation and business rules. In
  this case your code would be much better placed in some form of Method object,
  be that an External, Python, or when ready, Perl Method, or even as a disk
  based Product.
 
 1: This is simply not true, and a very poor excuse for
 handicapping the language.

Nope.  Lamba, filter, reduce, and map should IMHO not be part of DTML. 
Actually, exprs probably shouldn't be in there in the first place. 
People are trying to use DTML as a way to process non-UI elements.  This
is a slippery slope, and leads to something like PHP or ASP.  My opinion
is this:  Generate and format your HTML with DTML, and do everything
else in Python.  This gives you the added benefit that you can change
the return values of functions by changing the Python code without
having to muck with DTML, which is painful any way you look at it.

People are right when they say DTML is beginning to get worse than Perl,
and IMHO, adding these functions could make it even worse than it is
now.  This sort of processing was not meant to happen in an expr under
Zope.  Python lets you do it, but it's sort of hard for somebody else to
understand after you've completed it, even if they know Python well. 
Functional constructs are handy, but not the most clear thing on the
planet.

 
 A common example is:
 
 dtml-in "_.map (lambda item: Catalog.getobject (item.data_record_id_),
 Catalog (REQUEST)"


How could someone understand this when you're finished with it?  I
looked at it three times before figuring out what you were trying to
do.  What if you didn't write it and you needed to answer somebody
asking a question about it on this mailing list?

Isn't this much more understandable as an external method explicitly?

def return_cataloged_objects(self):
obs = []
catalog = self.Catalog
request = self.REQUEST
for r in catalog(request):
d_rid = r.data_record_id_
ob = catalog.getobject(d_rid)
obs.append(ob)

return obs

then:

dtml-in return_cataloged_objects
...
/dtml-in

It *might* be slighly slower, but someone maintaining your code will
eventually thank you for this.  Eventually it will cost you less money
somewhere that you might be able to buy a faster server with.
 
 I know fetching the actual records from a ZCatalog introduces a
 performance penalty, but sometimes it's necessary; there are
 times you need to be absolutely sure everything is pushed on
 the namespace, including user-defined properties and
 sub-objects. This is the case in HackRoll, and I have to use a
 very ugly Python Method there (and as PythonMethods don't have
 map either, I have to build a list from scratch using for,
 which introduces additional penalties as I'm basically
 bypassing Python's optimizations).

Sometimes.  Sometimes not.  Read
http://www.python.org/doc/essays/list2str.html .

As I understand it, by using expr syntax to begin with, you're defeating
some of Zope's caching mechanisms, actually slowing things down in
reality.

 2: If I should be using a Python Method, then Python Methods
 should have these forms, and they don't.

Maybe they should... it would be nice.  I'm not sure why they're not in
Python Methods, other than Evan tried to make the security inherent in
Python methods as close to DTML as he could.  I use map a lot.  I don't
use lambda unless I really, really have to.  Reduce and filter.. eh.  I
dunno.  They're sort of on the periphery of usefulness.

 
 3: In short, these excuses are just the fallback (or should I
 say Acquired?) excuses used mostly by people who don't know how
 to use these very cool features of Python.

I would hardly say Martijn is one of those.  :-)

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] ZClass questions

2000-05-29 Thread Graham Chiu


I can't recall if my question made it to the list following last week's
outage, but here goes again...

1. How does one iterate over values within a property sheet?

2. When adding a selection field to a property sheet, how does one

"returns a list of strings from which the selection(s) can be chosen"

-- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] defining counters in zope(newbie)

2000-05-29 Thread Sudhir Kumar

How do I keep track of counter in Zope.

For example, if I want to produce the following output:

1.book1Author1
2.book2
3.book3
4.book4Author2
5.book5
6.book6
7.book7Author3

i.e. book1, book2, book3 are by Author1, etc.


I need something like the following
...
count = 0   ---intended
dtml-in   "AuthorList()"
dtml-let   author="sequence-item"
dtml-in  "BookList(author)"
  dtml-if "sequence-index==0"
 dtml-var count sequence-item dtml-var
author
  dtml-else
 dtml-var count sequence-item
  count=count+1   -- intended
  /dtml-if
 /dtml-in/dtml-let
/dtml-in

I do not know how to set count=0, count=count+1 in dtml.
Any help will be greatly appreciated.

Thank you,
-- sudhir




___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Re: GenericUserFolder Bug

2000-05-29 Thread Stuart 'Zen' Bishop

On Mon, 29 May 2000, Phil  Harris wrote:

 I've found a bug in GenericUserFolder.
 
 Basically if you try and do any restriction by domain then it will fail
 every time.

Thanks for the heads up. I've uploaded a patched version to zope.org.

-- 
Stuart Bishop  Work: [EMAIL PROTECTED]
Senior Systems Alchemist   Play: [EMAIL PROTECTED]
Computer Science, RMIT University


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] defining counters in zope(newbie)

2000-05-29 Thread Chris McDonough

Sudhir,

Hi...

It's natural to want to do this in DTML... but probably not the best
idea.  I know it's a lot to chew to have to use Python to do stuff like
this (you don't), but it would make your life probably a lot easier to
do this in an external method or a Python method.

That said (untested),

dtml-call "REQUEST.set('count', 1)"

dtml-in AuthorList
   dtml-let author="_['sequence-item']"
dtml-in "BookList(author)"
  dtml-if sequence-start
dtml-var count  dtml-var sequence-item dtml-var author
  dtml-else
dtml-var count  dtml-var sequence-item
  /dtml-if
  dtml-call "REQUEST.set('count', count + 1)"
/dtml-in
   /dtml-let
/dtml-in
 
I feel dirty now.

Sudhir Kumar wrote:
 
 How do I keep track of counter in Zope.
 
 For example, if I want to produce the following output:
 
 1.book1Author1
 2.book2
 3.book3
 4.book4Author2
 5.book5
 6.book6
 7.book7Author3
 
 i.e. book1, book2, book3 are by Author1, etc.
 
 I need something like the following
 ...
 count = 0   ---intended
 dtml-in   "AuthorList()"
 dtml-let   author="sequence-item"
 dtml-in  "BookList(author)"
   dtml-if "sequence-index==0"
  dtml-var count sequence-item dtml-var
 author
   dtml-else
  dtml-var count sequence-item
   count=count+1   -- intended
   /dtml-if
  /dtml-in/dtml-let
 /dtml-in
 
 I do not know how to set count=0, count=count+1 in dtml.
 Any help will be greatly appreciated.
 
 Thank you,
 -- sudhir
 
 ___
 Zope maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope-dev )

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] newbie question: variables

2000-05-29 Thread Brad Moulton

As I am new to both zope and python i am not quite sure how to phrase this
question so I'll explain my example hoping this helps.

I have created some simple zclasses to add,edit delete
customer,jobs,  product etc objects

I'd like to be able to store and use the "username"
captured in a simple login/password DTML method

let's say it is a customers name that i capture in the initial login screen.

How/where do I store this so that in some other methods i can retrieive its
value for use in iteration.
i.e. give me all the jobs for this customer only

apologies for the lack of clarity.

thanks to all who have contributed to zope

brad


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] GVIM ftp

2000-05-29 Thread ethan mindlace fremen

John A Chaves wrote:

 You can simulate one fairly easily.  The attached script (which would need
 to be tweaked for your environment) ftp-gets the zope object into a temp
 directory.  It also creates a Makefile in the temp directory which ftp-puts
 the object back into zope.  You can then use the GVIM "make" button (looks
 like a hammer) to save your changes and push them back to zope.

Can you put this up as a howto?

Thanks,

~ethan [EMAIL PROTECTED]

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] something missing in my Oracle setup?

2000-05-29 Thread Jens Vagelpohl

hi justin,

it is your oracle install. i have had bad experiences with the fancy shmancy
8.1.x java installer myself.

oci.h is in a subdirectory of $ORACLE_HOME called 'rdbms'. i remember doing
the client setup did not give me the stuff i needed so i basically copied
everything it was missing from a second pretty much identical box with a
full server install. it would be easiest if you had a machine with a full
server install.

jens




Jens Vagelpohl[EMAIL PROTECTED]
Software Engineer www.digicool.com
Digital Creations (888) 344-4332

Got Zope?





on 5/29/00 18:04, Justin Sheehy at [EMAIL PROTECTED] wrote:

 Hello,
 
 I am trying to build the DCOracle module and having trouble right off
 the bat.  I have tried both 1.3.0 and 1.3.1 b1 with the same results.
 
 The file src/oci_8.c does an #include "oci.h", but I don't seem to
 have a file named oci.h in my oracle install:
 
 $ find $ORACLE_HOME -name '*.h'
 /opt/orahome1/network/public/tnsapi.h
 /opt/orahome1/network/public/nzerror.h
 /opt/orahome1/network/public/nzt.h
 /opt/orahome1/otrace/public/epc.h
 /opt/orahome1/plsql/public/ociextp.h
 /opt/orahome1/precomp/public/sql2oci.h
 /opt/orahome1/precomp/public/sqlucs2.h
 /opt/orahome1/precomp/public/oraca.h
 /opt/orahome1/precomp/public/sqlapr.h
 /opt/orahome1/precomp/public/sqlca.h
 /opt/orahome1/precomp/public/sqlcpr.h
 /opt/orahome1/precomp/public/sqlda.h
 /opt/orahome1/precomp/public/sqlkpr.h
 /opt/orahome1/precomp/public/a.out.h
 /opt/orahome1/precomp/public/limits.h
 /opt/orahome1/precomp/public/bits/mathcalls.h
 /opt/orahome1/precomp/public/sys/ipc.h
 
 My Oracle install is the 'Programmer' distribution from Oracle 8.1.5.
 
 Do I need the full install, not just the Programmer install, or am I
 missing something else?
 
 I tried using the Setup file for Oracle 8i on Linux that was sent to
 this list by Laurent Chane-Chuen-Kee, but that does not have any
 effect on the problem.
 
 Thanks,
 
 -Justin Sheehy
 
 ___
 Zope maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )
 
 


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] PROPOSAL: Online chat with Jim and Paul

2000-05-29 Thread Ben Leslie

Hi Steve!

On Sun, 28 May 2000, Steve Alexander wrote:

 Paul Everitt wrote:
   
  I propose an IRC chat on Wednesday with Jim Fulton and me.  
 
 Try and pick a time that's not *too* late at night for us Europeans.


Or for us Australian's ;) (Although that might get a tad difficult ;)


Benno

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )