Re: [Zope] ZClass acting up?

2000-05-23 Thread Erik Enge

Tres Seaver [EMAIL PROTECTED] writes:

 If you fill out the ID and press 'Add', le voilà!

Yeah, your right! But that still means I need to do
some hacking about, and me and my semantics does not 
like that ;-)

 (Actually it looks like a duplicate of #811).

How can I see number 811, it just shows up to 600 and something?

___
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] does this app exist?

2000-05-23 Thread Heiko Stoermer

paul beard wrote:
 
 We're considering using zope to handle some internal groupware-type
 functions, with WorldPilot as the base. What we need is the true Outlook
 killer: scheduling. Any word on this as a feature to WorldPilot or hints
 on how hard this would be implement?

I think the largest obstacle is the lack of a scheduler or timer class
in Zope. It simply doesn't create events for you...
As far as I can see it's not possible to create a scheduler as a simple
product, because it has to run all the time, in the background. thus it
actually has to become some part of the Zope server itself.

What I can tell you is this: if you develop a "ZScheduler" and it
becomes part of the Zope Standard distribution, the Zope community will
be VERY glad.

greetings,
Heiko Stoermer

-- 
[EMAIL PROTECTED]
innominate AG
 networkingpeople
fon: +49.30.308806-0 fax: -77   web: http://innominate.de

___
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] Updating one data.fs from another

2000-05-23 Thread Chris Withers

I export a whole subtree from by Dev instance and import it into the
production instance...

HTH,

Chris

Graham Chiu wrote:
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 I do development on my site on my notebook, and then rather than
 overwriting my production data.fs, I then manually make the changes to
 the production data.fs by create/cut/paste from my development data.fs
 which is all very painful.
 
 I tried ftp'ing into my development site, but some things like
 TinyTables are 0 bytes in size and can't be accessed.
 
 My browser also doesn't support cut/paste of whole documents from one
 data.fs to another, just the data whereas it supports this within a
 data.fs.
 
 Is there some other way to propagate changes from a development site to
 a production site?
 
 - --
 Regards,  Graham Chiu
 gchiuatcompkarori.co.nz
 http://www.compkarori.co.nz/index.php
 Powered by Interbase and Zope
 
 -BEGIN PGP SIGNATURE-
 Version: PGPsdk version 1.7.1
 
 iQA/AwUBOSlQv7TRdIWzaLpMEQKLPQCfWcsRKQkXIP5nwaRuetiqpJ/PQ/oAoJf+
 q0bL2DJvxMEceE8fCtupQPuq
 =kroL
 -END PGP SIGNATURE-
 
 ___
 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] How to change object with variable ?

2000-05-23 Thread

My script :

dtml-call "A.B.C.manage_addProperty(D,E,F)"

How to change "C" with another variable "V" which is
an object like 
imae or file ?


_
Do You Yahoo!?
µn°O§K¶Oªº @yahoo.com.tw ¹q¤l¶l¥ó @ http://mail.yahoo.com.tw
Get your free @yahoo.com.tw address at http://mail.yahoo.com.tw

___
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] Win98 and WEBDAV - you ought to see it if you can

2000-05-23 Thread Paul Browning


 Message: 48
 From: "Wolfgang Strobl" [EMAIL PROTECTED]
 Organization: GMD
 To: [EMAIL PROTECTED]
 Date: Mon, 22 May 2000 14:10:32 +0200
 Subject: Re: [Zope] Win98 and WEBDAV - you ought to see it if you can

 On 22 May 2000, 6:41  Paul Browning wrote:

 Question: If WEBDAV works so well under Win98 does it
 also work just as well under Win2K? Perhaps someone
 who will admit to using Win2K can confirm this? It might
 even motivate me to upgrade from NT .

 I'm using Win2000 at work. Opening a webdav folder works, so
 does renaming or moving objects around. Copying from a local
 folder to a remote zope works too. But the reverse direction results
 in a "Error Copying File or Folder: An error occured while copying
 the file. The requested header was not found" sometimes. Copying
 a different file got me "The current operation cannot be completed
 because an unexpected error has occured".


Thanks for the feedback on Win2K. A Bristol colleague reports:
"I can't currently get it to work under Win2k (keeps prompting
me for the location of webfldrs.msi) ..."

 In short, it's too buggy for doing real work.

Yeah - I thought the problems had been sorted under Win98 - but
I re-discovered this gotcha (which I was getting under NT4): you
can copy .htm files TO Zope but not back again. And changing the file
name and/or extension doesn't offer a workaround. Bit of a shame
that 

Paul

--
 The Library, Tyndall Avenue, Univ. of Bristol, Bristol, BS8 1TJ, UK
 E-mail: [EMAIL PROTECTED]  URL: http://www.bris.ac.uk/


___
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] does this app exist?

2000-05-23 Thread Chris Withers

Heiko Stoermer wrote:
 What I can tell you is this: if you develop a "ZScheduler" and it
 becomes part of the Zope Standard distribution, the Zope community will
 be VERY glad.

ZScheduler already exists, it's just very buggy.

Check the mail archives for 'ZScheduler' and have a look at:
http://www.zope.org/Members/lstaffor/ZScheduler

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] python nigglettes

2000-05-23 Thread Tom Smith




hi all, I'm currently experimenting with zope 
and noodling with pythoncan anyone give me an answer on these?

Python is beautiful (nearly as beautiful as 
Prograph (but that's another story)).

I'm a BIG fan of human readable code, I 
loved HyperCard and pathelogically refused to get my head past Perl. But there a 
few irritants that I really need to know why they're there.

 1. : This smacks 
of geek...surely the interpreter could figure out if this wasn't 
there...couldn't it? Surely there's a workaround for someone like me. Isn't 
there? What if I promised never to write one-line functions, could I 
do without it then?

 2.elif Boy this 
is awkward, I though elseif was bad but elif !! Can I 
use/implement alternatives elseif would be a start else 
if would be better...more natural.

I love the fact that with Python it's OK (nay encouraged) to 
document code. I can live with the __whatever__ methods but 
: and elif are so ugly that as I'm showing someone how 
cool Python is, I get embarrased...and make excusesalong the lines 
ofyes, yes, I know, but look how easy it is to create a subclass of 
Animal...

cheers

tom





[Zope] Catching SQL Exceptions in an external method

2000-05-23 Thread Stolker, Wim

Hi,

I have a burning question ...

Does anyone know how to catch exceptions from
SQL methods ( via ZodbcDA ) in an external method?

I do not know how the exceptions are named.
If I catch the exception with a general 'except:' statement
it works but I cannot see the info from the exception,
so I want to write something like
except sqlerror_or_something, e:
do_something_with_e

I have not been able to find out what I should write 
instead of sqlerror_or_something

Some context:

I have an external method that I call via xmlrpc.
This method calls a ZSQL method, does some postprocessing and
returns the result to the ( java or python ) client.
Everything works fine EXCEPT when there is an error.
This error shows up in the client as 'internal server error' without
further information.
If I call the external method from a browser I can see the specific
SQL error.
So I tried to catch the specific error in the external method in order
to marshall the info and send it back to the client.

Any help greatly appreciated.

Have a nice day,
Wim

___
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 concepts

2000-05-23 Thread J. Atwood
Title: Re: [Zope] Zope concepts


I intend
to build an intranet with zope...though it's not as simple as
that...I'd like 90% of the site to be password protected (giving
access to members of my company)...do I use acl_users for
this?

Yes or any of the other models (UserDB, etc)

I'd also
like parts of the site to be accessible (and maybe manageable albeit
minimally) by clientsDo I have to create a second user/access
model for this or can I use the acl_users to do this for me
too.

Yup. Create a role for them and limit that role.

I'm
having problems
 a. Making the acl_user stuff
work...I can either login as admin or not all.
 and b.
Getting to grips with the concept of the user/privs/access model in
acl_users

Create a user, give them a role and they will inherit all of the
access levels of that role. Create a new role and give that role
different access levels and you can manage it better through the
role.

It is not that much different than most user/group/role access
scenarios, in that once you get started using it and understand the
basic concepts it will all fit.

Remember that users inherit permissions from parent objects
which you can turn off if that model does not suit you.

J



Re: [Zope] Catching SQL Exceptions in an external method

2000-05-23 Thread jq-zope

"Stolker, Wim" [EMAIL PROTECTED] writes:

 I do not know how the exceptions are named.
 If I catch the exception with a general 'except:' statement
 it works but I cannot see the info from the exception,

sys.exc_* should work, as in 

import sys

try:
raise "Blubber"

except:
print "Exception type  %s" % sys.exc_type
print "Exception value %s" % sys.exc_value





-- 
   http://www.jquade.de/

For every complex problem there is an 
answer that is clear, simple, and wrong. -- H L Mencken


___
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] DTML Document size limit?

2000-05-23 Thread Tino Wildenhain

Hi Andrew,

as discussed earlyer, there is no hard coded limit in the size
of the files (ok, you might not go over 2GB per file)
Althought its usually not nessecary to edit such big files.
Use inheritance, reuseable code and part your document into smaller
pieces.
This is what Zope is for.

Regards
Tino Wildenhain

Andrew Diller wrote:
 
 I can't get a DTML Document to be bigger than about 105k.
 
 Is there a size limit to a DTML Document, and if so, how big?
 
 105k isn't that large.
 
 -andy diller
 
 ___
 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] installing products.

2000-05-23 Thread Pierre Rougier

well, this can sound a newbie question... well,it is one...

in fact I never used a zope product from the zope site.
I downloaded the SiteAccess product. what do I have to do to use it???

thanks for your attention (special thanks for mindlace)


___
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] installing products.

2000-05-23 Thread J. Atwood

in fact I never used a zope product from the zope site.
I downloaded the SiteAccess product. what do I have to do to use it???

I was about to just send you the installation instructions when I saw 
that they are pretty meager. Actually, very. (shame shame)

1) Go to your root Zope directory
2) Unpack (tar, zip) the file
3) Restart Zope

To use it consult http://yyy.zope.org/Members/4am/SiteAccess/info

The basics are you create a DTML Method in your Zope root directory 
and tell it about each of the folders and what domain name they are 
hosting and then in each folder you add a site access instance (from 
the drop down menu) with nothing in it.

J

___
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] uploading a batch of files

2000-05-23 Thread Itamar Shtull-Trauring

"R. David Murray" wrote:

 Perhaps the load_site (or whatever it's name is) product would help
 with this?  I've never looked at it.

Yes - it has command line and GUI clients for uploading multiple files to
Zope.  And you shouldn't use the one included with Zope - it trashes HTML
entities like amp;.  It runs over HTTP so it doesn't need FTP access to
Zope.

http://www.zope.org/Members/itamar/load_site

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




[Zope] Feedback Requested: Editor Applet for Zope?

2000-05-23 Thread Heiko Stoermer

Hi all,

I've been working with Zope for quite some time now, and one point that
always slows me down is DTML or SQL source editing in the well-known
wonderful textboxes. You all like them...

My question:
Do you like the idea of having a slim java-based editor applet instead
of the textarea? 
(NO, not a 400k editor with WYSIWYG preview and an exotic scripting
engine - it's supposed to be _very_ slim)

Please give me feedback on this, because if the community wants such a
thing, I might start working on it.

Thanks in advance,
Heiko


-- 
[EMAIL PROTECTED]
innominate AG
 networkingpeople
fon: +49.30.308806-0 fax: -77   web: http://innominate.de

___
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] Mailing List problems?

2000-05-23 Thread Satheesh Babu

Hello,

Is there any problem with mailman list manager for
this list? It looks like some mails are getting
sent as if it is from my id. I'm forwarding one
such mail... Can the list manager please take
a look?

Thanks

   ~  V.Satheesh Babu [EMAIL PROTECTED](Xt: 5348)
  . . http://www.csoft.net/~vsbabu/
  /V\ - Duct tape is like the force.  It has
 // \\  a light side, and a dark side, and
/(   )\ it holds the universe together ...
 ^'~'^

-Original Message-
From: Satheesh Babu
Sent: Tuesday, May 23, 2000 9:37 AM
Subject: [Zope] How to change object with variable ?


Return-Path: [EMAIL PROTECTED]
Received: from zope.codeit.com (www.zope.org [209.67.167.110] (may be
forged))
by csoft.net (8.10.1/8.10.1) with ESMTP id e4N98GA06834
for [EMAIL PROTECTED]; Tue, 23 May 2000 04:08:16 -0500
Received: from www2 (localhost [127.0.0.1])
by zope.codeit.com (8.9.2/8.8.7) with ESMTP id BAA24561;
Tue, 23 May 2000 01:29:30 -0700 (PDT)
Received: from web1502.mail.yahoo.com (web1502.mail.yahoo.com
[128.11.23.180])
by zope.codeit.com (8.9.2/8.8.7) with SMTP id BAA24541
for [EMAIL PROTECTED]; Tue, 23 May 2000 01:29:26 -0700 (PDT)
Received: (qmail 28253 invoked by uid 60001); 23 May 2000 08:29:25 -
Message-ID: [EMAIL PROTECTED]
Received: from [202.178.245.227] by web1502.mail.yahoo.com; Tue, 23 May 2000
16:29:25 CST
Date: Tue, 23 May 2000 16:29:25 +0800 (CST)
From: =?big5?q?=AA=F4=20=C1o=A4=E5?= [EMAIL PROTECTED]
Subject: [Zope] How to change object with variable ?
To: [EMAIL PROTECTED]
MIME-Version: 1.0
Content-Type: text/plain; charset=big5
Content-Transfer-Encoding: 8bit
Sender: [EMAIL PROTECTED]
Errors-To: [EMAIL PROTECTED]
X-Mailman-Version: 1.0b8
Precedence: bulk
List-Id: Users of the Z Object Publishing Environment zope.zope.org
X-BeenThere: [EMAIL PROTECTED]
X-UIDL: [O#!YaR!!A37"!\9P!!

My script :

dtml-call "A.B.C.manage_addProperty(D,E,F)"

How to change "C" with another variable "V" which is
an object like
imae or file ?


_
Do You Yahoo!?
µn°O§K¶Oªº @yahoo.com.tw ¹q¤l¶l¥ó @ http://mail.yahoo.com.tw
Get your free @yahoo.com.tw address at http://mail.yahoo.com.tw

___
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] SQLSession vs FSSession for ultra-high scalability andspeed.

2000-05-23 Thread Pavlos Christoforou

On Sun, 21 May 2000, chas wrote:

 Hi Folks,
 
 Sorry if this has been asked before, but can anybody 
 advise on FSSession vs SQLSession for:
 
 a) Speed.
 b) Scalability.
 

FSSession does not use ZODB to store data, but stores session pickles
directly on the harddisk. It will also update session info only if there
are modifications to the session object. Given OS file caching I would
not be supprised if FSSession is faster than any RDBMs based solution.
Also note that if you have to support many writes on the Session objects,
a filesystem provides a nice map from users -- files, which then utilizes
the 'high concurrency' provided by the FS. 

OTO an RDBMS maybe a more reliable datastore than the filesystem with
better consistency, recovery tools etc etc.
 
Also check whether SQLSession caches info. It used to hit the RDBMs for
every variable access which was very prohibitive for us, but Anthony
mentioned that he was changing that.

Since performance is going to be a major issue in your design I suggest
you run a small bechmark to test relative performance.

Pavlos


___
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 Newbie Questions

2000-05-23 Thread Chris Withers

Hi Daniel,

Resources I'd recommend:

The Zope Documentation Portal - http://zdp.zope.org
The Zope Site - http://www.zope.org
The Zope Mailing List - [EMAIL PROTECTED]
(see http://lists.zope.org/mailman/listinfo/zope for details)

I've copied your questions to the zope list in the hope that someone
with time can help you out :-)

Good luck,

Chris

PS: Short answers:

- Try adding 'Image' objects for your graphic needs.
- With the Free Zope Hosting option, I don't think there's any way you
can do a bulk upload, but Itamar's loadsite.py utility may be able to
help...
- If you like DreamWeaver, I'd recommend our Professional Zope Hosting
option, as DreamWeaver should work fine with this...


Daniel Muller wrote:
 
 Hi,
 
 Thank you for setting up my free Zope account.  I've been very interested in
 this product for some time but have not been able to play with it until now.
 
 I think I may be in over my head but here goes anyway.  Essentially I have
 no programming skills.  My HTML is good and Dreamweaver seems to take care
 of the rest.  My talent lies more on the design side of the business. (check
 out http://www.gradcenter.marlboro.edu/ and http://www.kapellandkostow.com/)
 
 I plan to use your service to recreate Marlboro College's web site as a
 means of exploring zope.
 
 So far I've been able to rebuild the basic directory structure and now I'm
 hoping to upload some graphics files.
 
 Must this be done one at a time or is there a mechanism for uploading entire
 directories at once?  Does ftp mean anything in zope?
 
 Where should this question best be asked?  (I'm sure you are far to busy to
 field newbie questions on free accounts)
 
 Thanks again for this wonderful opportunity.
 
 Daniel
 
 --
 Daniel Muller
 Director of Internet Development
 Marlboro College
 
 (802) 251-7613

___
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] Feedback Requested: Editor Applet for Zope?

2000-05-23 Thread Jason Cunliffe


- Original Message -
From: Heiko Stoermer [EMAIL PROTECTED]

 My question:
 Do you like the idea of having a slim java-based editor applet instead
 of the textarea?
 (NO, not a 400k editor with WYSIWYG preview and an exotic scripting
 engine - it's supposed to be _very_ slim)

 Please give me feedback on this, because if the community wants such a
 thing, I might start working on it.

 Thanks in advance,
 Heiko

Hello Heiko

Yes please!. Sounds like a great idea.
..and now for some wishlist slim features:

- maximise the text area horizontal + vertical quickly and easily [and then
store/fetch the prefs to/from a zope object  or method somewheres]

- scale type [change font size + font]

- some basic coloring or styling please... dtml-iwuyi  in colorA, other
non-dtml tags in colorB, anythin in "" in colorC, etc.

- keep a scrolling list on one margin of DTML so that one can click on items
to allow faster more accurate code paste [yes I am a lousy typist adn dtml
is _so_ picky] . The list can be preloaded with the obvious and not so
obvious and also  remembers recent chunks of dtml slilm 'history'.

maybe this request puts it over the size limit - but maybe not..:-)
goodluck

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




[Zope] FTP

2000-05-23 Thread David Shen



Hello, 
 Can Zope system be accessed by 
FTP? If yes, how to do so?

Thanks,

David


[Zope] worldpilot and imap

2000-05-23 Thread Tom Smith

hi,

sorry about the  HTML postings.

quick questioncan anyone recommend a super simple IMAP server to use on
NT Workstation with worldpilot?

cheers

tom


___
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] FTP

2000-05-23 Thread Rik Hoekstra



 David Shen wrote:
 
 Hello,
 Can Zope system be accessed by FTP? If yes, how to do so?


Yes. Assuming you have a standard Zope installation and you've not
tampered with the ftp settings of ZServer (you'd know about ftp then
wouldn't you). THe ZServer ftp is running under the (non default) 8021
port. You should point your ftp client to ftp://yoursite:8021/

That's it.

Happy ftp-ing

Rik

___
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] python nigglettes

2000-05-23 Thread Luis Cortes

On Tue, 23 May 2000, you wrote:
 
 hi all, I'm currently experimenting with zope and noodling with
 pythoncan anyone give me an answer on these?
  
 Python is beautiful (nearly as beautiful as Prograph (but that's another
 story)).
  
  I'm a BIG fan of human readable code, I loved HyperCard and
 pathelogically refused to get my head past Perl. But there a few
 irritants that I really need to know why they're there.
  
 1. ":" This smacks of geek...surely the interpreter could figure out
 if this wasn't there...couldn't it? Surely there's a workaround for
 someone like me. Isn't there? What if I "promised" never to write
 one-line functions, could I do without it then?
  
 2."elif" Boy this is awkward, I though "elseif" was bad but "elif"
 !! Can I use/implement alternatives "elseif" would be a start "else if"
 would be better...more natural.
  
 I love the fact that with Python it's OK (nay encouraged) to document
 code. I can live with the "__whatever__" methods but ":" and "elif" are
 so ugly that as I'm showing someone how cool Python is, I get
 embarrased...and make excusesalong the lines of"yes, yes, I
 know, but look how easy it is to create a subclass of Animal..."
  
 cheers
  
 tom
  
  
  
 

Even if the elif was not there, there would be something else to complain about
it.  My advise take the bad with the good.  Also,  there is more power in the
"else" , for example, you can do an else to a "for" statement - which is nice
and can't even be done in C.

Regards,
Luis.

___
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] Multiple ZEO Storage Servers, as Mountable Databases? (wasFYI: Thank you) FYI: Thank you)

2000-05-23 Thread Jerry Spicklemire

Alan Runyan asked:
just out of curiosity - can a ZEO StorageServer now have multiple ZODB's?

Another way to look at this, with Mountable Databases, is that you can run
two ZEO StorageServers. Then the question is, can the ZEO Clients refer to
both at once, in the form of Mountable Databases? If the the ZEO access is
truly transparent to the client Zope, the result should be ZEO Client
access to multiple ZODBs, and would have the pleasant side effect of
distributing load on the ZEO StorageServers.

This is getting exciting!

Later,
Jerry S.




___
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] still trying to get Catalog to work in my python product

2000-05-23 Thread ed colmar

Thanks to everone who has given me suggestions on this.  I really do
appreciate it.

After looking over the PTK snapshot, I've tried to duplicate the catlog
that is implemented there.  I could not find any search utilities built in,
so I'm assuming this is still done by adding the ZsearchInterface from the
management screen.  Is this right, or is there some built-in PTK searching
tool?

So now I have a "myproductcatalog" class which inherits ZCatalog.  All it
does is set up the Indexes, and columns

In my base class, I initialize the catalog using (PTK code):

# Install MyCatalog
id = 'SiteIndex'
catalog = MyCatalog(id, '')
self._setObject(id, catalog)
catalog = self.SiteIndex
catalog.initialize()



My sub-classes are all catalog aware, with reindex-object in all of the
editing areas.  

I don't see my catalog when I go to add a Zsearch interface.  Am I
supposed to?  What else do I need to do to make this work?

-ed-


___
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] FTP

2000-05-23 Thread Stuart Foster

When I try this I get an unauthorized user error. Can you give an example of
how to connect to port 8021 with a simple ftp program. 


-Original Message-
From: Rik Hoekstra [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 23, 2000 7:37 AM
To: David Shen
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] FTP




 David Shen wrote:
 
 Hello,
 Can Zope system be accessed by FTP? If yes, how to do so?


Yes. Assuming you have a standard Zope installation and you've not
tampered with the ftp settings of ZServer (you'd know about ftp then
wouldn't you). THe ZServer ftp is running under the (non default) 8021
port. You should point your ftp client to ftp://yoursite:8021/

That's it.

Happy ftp-ing

Rik

___
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] Really dumb newbie question

2000-05-23 Thread Andy Gates

This one is so dumb you'll be laughing, but any help would be greatly 
appreciated.

I need to evaluate an IF.  That's all.  I have a variable called Action
that's a string, and it can be null, "Add", "Update" etc.

I try something along the lines of:
dtml-if action == "add"
blah
/dtml-if

and whatever I try, I get "Invalid attribute name, "action", for tag 
dtml-if Action=="add""

Assuming that I'm not just cursed by the Zope Gods, what am I doing 
wrong?

Yeesh, I feel dumb.
--
Andy Gates, Learning and Research Technology
[EMAIL PROTECTED] - ICQ#74362415


___
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] Really dumb newbie question

2000-05-23 Thread Christopher J. Kucera

 dtml-if action == "add"
 blah
 /dtml-if

dtml-if "action == 'add'"
  blah
/dtml-if

Things inside quotes get evaluated as Python expressions. :)

Have fun Zopeing!

-CJ

___
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] Really dumb newbie question

2000-05-23 Thread Tony McDonald

At 5:01 pm +0100 23/5/00, Andy Gates wrote:
This one is so dumb you'll be laughing, but any help would be greatly
appreciated.

I need to evaluate an IF.  That's all.  I have a variable called Action
that's a string, and it can be null, "Add", "Update" etc.

I try something along the lines of:
   dtml-if action == "add"
   blah
   /dtml-if

dtml-if "action == 'add'"
blah
/dtml-if

As an aside, whenever anything is in " .. " - it becomes a Python expression.
hth
Tone
--
Dr Tony McDonald,  FMCC, Networked Learning Environments Project 
http://nle.ncl.ac.uk/
The Medical School, Newcastle University Tel: +44 191 222 5888
Fingerprint: 3450 876D FA41 B926 D3DD  F8C3 F2D0 C3B9 8B38 18A2

___
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] Really dumb newbie question

2000-05-23 Thread Chris Withers

Andy Gates wrote:
 dtml-if action == "add"

dtml-if "action=='add'"

Been there, done that, learned the magic incantations ;-)

The " " makes it into a python expression...

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] Variable which delivers the author of an document

2000-05-23 Thread Stefan Pöhnlein

I would like to know,if there is a Variable, which delivers as value the
author of a document, similiar to "AUTHENTICATED_USER", which delivers
the user name.

I couldn't find anything about it in the Zope DTML Reference.

Thanks a lot in advance,

Stefan


___
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] Really dumb newbie question

2000-05-23 Thread Stephan Richter

At 05:01 PM 5/23/00 +0100, you wrote:
This one is so dumb you'll be laughing, but any help would be greatly
appreciated.

I need to evaluate an IF.  That's all.  I have a variable called Action
that's a string, and it can be null, "Add", "Update" etc.

I try something along the lines of:
 dtml-if action == "add"
 blah
 /dtml-if

Just try: dtml-if "action == 'add'"

Inside the " " is a python expression that is evaluated and returns true or 
false. In case you do not know Python, I would suggest you learn the basic 
logic, since in Zope all expressions " " are evaluated as Python syntax 
expressions.

Regards,
Stephan
--
Stephan Richter
CBU - Physics and Chemistry
Web2k - Web Design/Development  Technical Project Management


___
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] Switch, Attribution and NT

2000-05-23 Thread peter

Q1.

Q1 {A} 
Is it possible to rewrite the following piece of DTML into something easier
and managable?
dtml-if "_.string.split(URL,'/')[-1]=='foobar_html'"
Cool! You are viewing foobar_html
dtml-elif "_.string.split(URL,'/')[-1]=='barfoo_html'"
More cool! You are viewing barfoo_html
dtml-elif ...
dtml-elif ...
/dtml-if

This is supposed to be in the standard_html_header, and I now wonder if it
is possible to write an switch or case statement for this.

Q1 {B} 
How do you write an AND and OR in an IF-statement?
I have tried this:
dtml-if "_.string.split(URL,'/')[-2]=='pornfolder' OR/AND
_.string.split(URL,'/')[-2]=='murder_todolist_folder'"
You are viewing the pornfolder AND/OR the murder_todolist_folder!!
/dtml-if
...but that does not work.

I would also like to use something like this:
"...=='pornfolder' OR/AND 'murder_todolist_folder'"
Ideas? Tips?

Q2 

How do you change the source to the Attribution button in the
standard_html_footer?

Q3 

When I installed Zope on my NT I installed it as a service (i.e. that it
autostarts).
Now, for some reason it does not autostart; which is what I want. How do I
fix that?
If I reinstall Zope, will my installed products and objects (can be
export-/imported) be deleted?


Thank you for you advice ladies and gentlemen!


___
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] The Zope Weekly News

2000-05-23 Thread Michel Pelletier

The Zope Weekly News

  The opinions expressed in Zope Weekly News are solely the author's,
  and not the opinions of Digital Creations, The Zope Community
  at-large, or the Spanish Inquisition.

  If you have something newsworthy to contribute, don't
  forget to include it in the ZWN Wiki:

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

  This weeks edition can be found at:

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

  And Now The News:

o Brian Lloyd announces the new Zope 2.2 alpha release.  This
release
includes lots of cool features and bug fixes, Yehaa!:

http://lists.zope.org/pipermail/zope/2000-May/025624.html

o Brian Hickman wants to discuss Zope and Law Office information
handling:

http://lists.zope.org/pipermail/zope/2000-May/025621.html

o Cary O'Brian asks about Zope and Pyro, and Kevin Dangoor chimes
in:

http://lists.zope.org/pipermail/zope/2000-May/025687.html

o Chris Withers and Wolfgang Strobl discuss some of the downsides
of HTTP and how it works with the new security system:

http://lists.zope.org/pipermail/zope/2000-May/025693.html

o 'hramos' announces zopers.org, a Portuguese Zope Portal:

http://www.zope.org/Members/hramos/Zopers

o New Information Paradigms Ltd announces free and commercial Zope
hosting, good luck guys!:

http://www.zope.org/Members/NIP/FreeZope

o The allways busy Chris Withers announces Squishdot 0.3.4:

http://www.zope.org/Members/chrisw/Squishdot/

o 'lalo' has created a nifty Product browser and RSS channel on
Zope.org:

http://www.zope.org/Members/lalo/products_annouce

o Rebecca Fisher is looking for Zope developers in New York:

http://lists.zope.org/pipermail/zope/2000-May/025772.html

o Stephen Nosal asks how to pronounce Zope, and our very own Chris
McDonough fills him in:

http://lists.zope.org/pipermail/zope/2000-May/025836.html
http://lists.zope.org/pipermail/zope/2000-May/025837.html

o Anthony Baxter warns us about using pthreads with Solaris:

http://lists.zope.org/pipermail/zope/2000-May/025859.html

o Paul Everitt announces a little 'gem' in the CVS version of
Zope, mountable databases!:

  http://lists.zope.org/pipermail/zope/2000-May/025928.html

  Don't forget to join us next week!

- Michel Pelletier

___
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] Really dumb newbie question

2000-05-23 Thread Jason Spisak

Andy Gates writes:

 This one is so dumb you'll be laughing, but any help would be greatly 
 appreciated.
 
 I need to evaluate an IF.  That's all.  I have a variable called Action
 that's a string, and it can be null, "Add", "Update" etc.
 
 I try something along the lines of:
   dtml-if action == "add"
   blah
   /dtml-if
 
 and whatever I try, I get "Invalid attribute name, "action", for tag 

Try:

 dtml-if "Action=='add'""


All my best,

Jason Spisak
CIO
HireTechs.com
6151 West Century Boulevard
Suite 900
Los Angeles, CA 90045
P. 310.665.3444
F. 310.665.3544

Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email
address may not be added to any commercial mail list with out my
permission.  Violation of my privacy with advertising or SPAM will
result in a suit for a MINIMUM of $500 damages/incident, $1500 for
repeats.

___
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] Switch, Attribution and NT

2000-05-23 Thread R. David Murray

On Tue, 23 May 2000, peter wrote:
 Q1 {A} 
 Is it possible to rewrite the following piece of DTML into something easier
 and managable?
 dtml-if "_.string.split(URL,'/')[-1]=='foobar_html'"
   Cool! You are viewing foobar_html
 dtml-elif "_.string.split(URL,'/')[-1]=='barfoo_html'"
   More cool! You are viewing barfoo_html
 dtml-elif ...
 dtml-elif ...
 /dtml-if
 
 This is supposed to be in the standard_html_header, and I now wonder if it
 is possible to write an switch or case statement for this.

Well (untested),

dtml-let greetings="{'foobar_html': 'Cool! You are viewing foobar_html',
  'barfoo_html': 'More cool! You are viewing barfoo_html'}"
dtml-var "greetings[_.string.split(URL,'/')[-1]]"
/dtml-let

might get you somewhere useful, depending on what it is you really
want to do.  (You might want 'dtml-try' code in case the last path
element isn't in your array.)

There isn't any dtml-case type statement.

 Q1 {B} 
 How do you write an AND and OR in an IF-statement?
 I have tried this:
 dtml-if "_.string.split(URL,'/')[-2]=='pornfolder' OR/AND
 _.string.split(URL,'/')[-2]=='murder_todolist_folder'"
   You are viewing the pornfolder AND/OR the murder_todolist_folder!!
 /dtml-if
 ...but that does not work.

What fails about it?  I presume your 'AND/OR' means you have tried
both keywords and had similar failures.  The syntax is right
as far as I can see, though of course the AND case could never
evaluate to true in this specific example.

 I would also like to use something like this:
 "...=='pornfolder' OR/AND 'murder_todolist_folder'"

The way to write this in python would be (untested):

dtml-if "_.string.split(URL,'/')[-2] in ('pornfolder','murder_todolist_folder')"

An AND case of this would be nonsensical.

Your remaining questions I will leave to others.

--RDM



___
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] dtml-in REQUEST

2000-05-23 Thread kwan


I remember I saw somewhere about it.
but I couldn't search it out again.

Can anyone tell me the correct way to do things like following?

dtml-in REQUEST
dtlm-var "key":dtml-var "value"
/dtml

I want to check the indivial item inside the REQUEST one time at a time.

but if I do dtml-in REQUEST  I think it is not actually a list so that
it is
usable by dtml-in tag


Kwan


___
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] dtml-in REQUEST

2000-05-23 Thread Chris Withers

try just plain dtml-var REQUEST

That on it's own will probably give you what you want...

Chris

kwan wrote:
 
 I remember I saw somewhere about it.
 but I couldn't search it out again.
 
 Can anyone tell me the correct way to do things like following?
 
 dtml-in REQUEST
 dtlm-var "key":dtml-var "value"
 /dtml
 
 I want to check the indivial item inside the REQUEST one time at a time.
 
 but if I do dtml-in REQUEST  I think it is not actually a list so that
 it is
 usable by dtml-in tag
 
 Kwan
 
 ___
 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] Advocacy FAQ?

2000-05-23 Thread srl

So, I was hanging out on IRC last night, and mentioned Zope to
someone who's fairly active in the Python community. I ended up
receiving a rant about how "bloated" and slow Zope is, and anecdotal
evidence about Zope crashing Linux servers repeatedly. 

I know there was/is a memory leak that might be to blame in this
case, but the fact remains: at least one person who might have been
convinced that Zope is cool has been *seriously* turned off to it,
for reasons of speed and memory hogging in a particular environment.

Is there a Zope Advocacy FAQ somewhere I can use when people throw
things like this at me?

srl
-
Shane Renee Landrum 
slandrum@cs.smith.edu 



___
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] Netscape Image Problems (LoginManager?)

2000-05-23 Thread andres

On Mon, May 22, 2000 at 03:10:59PM -0500, Jon Delheimer wrote:
 
 Shane,
 
 I made the changes you suggested to Image.py.
 
 Here are the results:
 
 Thursday, 11-May-00 16:21:32 GMT
 1900/05/11 16:21:31 GMT
 -2197697908.0

I have stepped through the debugger with the call of
ZPublisher.Zope('/path/to/image', d=1). Upon immediate entry into the
ZPublisher/Test.py module I can set environ['IF_MODIFIED_SINCE'] to
something reasonable such as 'Wednesday, March 15, 2000 19:02:17 GMT' and I
get no error as I step through the code. This exonerates the Zope python code.

The question then remains who is producing the buggy If-Modified-Since that
puts the date back to 1900. Does someone know how to trap the headers that
are sent to Zope so they can be inspected?

--
Andres Corrada-Emmanuel   Email: [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] Advocacy FAQ?

2000-05-23 Thread Steve Alexander

srl wrote:
 
 So, I was hanging out on IRC last night, and mentioned Zope to
 someone who's fairly active in the Python community. I ended up
 receiving a rant about how "bloated" and slow Zope is...

"Slow" is a relative term. Zope will always be slower than hard-coding
an application in Python.

For the kind of applications I have, I'm happy to throw a bit more
hardware at a server, if I get an improvement in reuse,
understandability or maintainability.

Maintenance accounts for much more than half the cost of most projects.

--
Steve Alexander
Software Engineer
Cat-Box limited

___
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] Netscape Image Problems (LoginManager?)

2000-05-23 Thread Dieter Maurer

Jon Delheimer writes:
  charset="iso-8859-1"
  
  
  Shane,
  
  I made the changes you suggested to Image.py.
  
  Here are the results:
  
  ...
  Thursday, 11-May-00 15:53:50 GMT
  1900/05/11 15:53:50 GMT
  -2197699570.0

That explains the exception:
  1900 is a bit too far in the past.
  Seems that Netscape sends such a strange "If-Modified-Since" header.

  You can try to fix this problem, by removing the "int(...)"
  in "OFS.Image.py:186"

mod_since=int(DateTime(header).timeTime())

     

mod_since=DateTime(header).timeTime()

___
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] Win98 and WEBDAV - you ought to see it if you can

2000-05-23 Thread Loren Stafford

Aha! I got Web Folders to work when pointed to a Zope/Zserver on the same
machine, so the problem is probably with the servers I tried to point to
first. I found an explanation in an earlier email on this list: the attempt
to access _vti_bin is an attempt by Web Folders to see if the server
supports FrontPage extensions. It tries this if it thinks the server does
not support WebDAV. It might think a Zope/Apache server doesn't support
WebDAV if Apache doesn't have the patches necessary to let the WebDAV
inquiry pass thru to Zope. The patches are described at
http://www.zope.org/Members/Brian/Misc/mod_cgi_webdav_patch.html.

Hope that helps the next person that tries this. BTW, everything you ever
wanted to know about WebDAV is at http://www.webdav.org/.

-- Loren

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Rik
 Hoekstra
 Sent: Monday, May 22, 2000 08:48
 To: Loren Stafford; Paul Browning; [EMAIL PROTECTED]
 Subject: Re: [Zope] Win98 and WEBDAV - you ought to see it if you can




 When I try to "Add a Web Folder" on Win98 I get a 404 error on
 the resource
 _vti_bin both on my own web sites and on www.zope.org. Any idea
 why or what
 is _vti_bin?
 


 Yes, it is (one of the) the dreaded Frontpage extension(s). Why you would
 get it and someone else wouldn't ... I don't know. Perhaps you have MS
 products that use FP extensions (Frontpage, Interdev, whatever) installed?

 Rik


 ___
 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] Zope Advocacy FAQ redux

2000-05-23 Thread srl

So, after poking around on Zope.org for awhile, I haven't found an
Advocacy FAQ. Have I missed something? I hope not, because I started
one. 

This is a very rough draft, hacked together from memory. As such,
it's quite likely inaccurate on some particulars, and most certainly
incomplete. I'll be working on it more over the next few days. If
you've got comments or additions, please email me and I'll credit
you.

To make the Advocay FAQ more complete, I'd love to hear: if you're
using Zope in a situation where you had to get management buy-in,
what convinced them? What objections did they have, and how did you
counter those objections? 

http://www.zope.org/Members/srl/advocacy_faq

PS. this is my first try at any sort of public document for an
open-source project. I'd love to hear criticism in email or onlist.


srl
-
Shane Renee Landrum 
slandrum@cs.smith.edu 



___
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] manage_users problem

2000-05-23 Thread Steve Drees

I have the following code stuffed away in a DTML Method

dtml-call "REQUEST.set('name','steve3')"
dtml-call "REQUEST.set('password','test')"
dtml-call "REQUEST.set('confirm','test')"
dtml-call "REQUEST.set('roles','RegisteredUser')"
dtml-call "acl_users.manage_users('Add',REQUEST,RESPONSE)"

After that code excutes there is a user with the name 'steve3'
but if I try to edit 'steve3' via the web interface I get the following.


Zope has encountered an error while publishing this resource.

Error Type: TypeError
Error Value: string member test needs char left operand

!--
Traceback (innermost last):
  File
/home/drees/zope/Zope-2.1.2-linux2-x86/lib/python/ZPublisher/Publish.py,
line 214, in publish_module
  File
/home/drees/zope/Zope-2.1.2-linux2-x86/lib/python/ZPublisher/Publish.py,
line 179, in publish
  File /home/drees/zope/Zope-2.1.2-linux2-x86/lib/python/Zope/__init__.py,
line 202, in zpublisher_exception_hook
(Object: RoleManager)
  File
/home/drees/zope/Zope-2.1.2-linux2-x86/lib/python/ZPublisher/Publish.py,
line 165, in publish
  File
/home/drees/zope/Zope-2.1.2-linux2-x86/lib/python/ZPublisher/mapply.py, line
160, in mapply
(Object: manage_users)
  File
/home/drees/zope/Zope-2.1.2-linux2-x86/lib/python/ZPublisher/Publish.py,
line 102, in call_object
(Object: manage_users)
  File
/home/drees/zope/Zope-2.1.2-linux2-x86/lib/python/AccessControl/User.py,
line 578, in manage_users
(Object: RoleManager)
  File
/home/drees/zope/Zope-2.1.2-linux2-x86/lib/python/App/special_dtml.py, line
120, in __call__
(Object: _editUser)
  File
/home/drees/zope/Zope-2.1.2-linux2-x86/lib/python/DocumentTemplate/DT_String
.py, line 502, in __call__
(Object: _editUser)
  File
/home/drees/zope/Zope-2.1.2-linux2-x86/lib/python/DocumentTemplate/DT_In.py,
line 691, in renderwob
(Object: valid_roles)
  File
/home/drees/zope/Zope-2.1.2-linux2-x86/lib/python/DocumentTemplate/DT_Util.p
y, line 335, in eval
(Object: _vars['sequence-item'] in user.roles)
(Info: _vars)
  File lt;stringgt;, line 0, in ?
TypeError: (see above)




-steve

[EMAIL PROTECTED]   http://www.the-bridge.net/~drees
"A problem well stated, is a problem half-solved." - C. Kettering


___
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] Netscape Image Problems (LoginManager?)

2000-05-23 Thread john

You Rock Dieter,

Thanks to everyone for their input!

This has solved the nasty Netscape Image problem for now!

j

[EMAIL PROTECTED]


At 09:05 PM 5/23/00 +0200, you wrote:
Jon Delheimer writes:
  charset="iso-8859-1"
  
  
  Shane,
  
  I made the changes you suggested to Image.py.
  
  Here are the results:
  
  ...
  Thursday, 11-May-00 15:53:50 GMT
  1900/05/11 15:53:50 GMT
  -2197699570.0

That explains the exception:
  1900 is a bit too far in the past.
  Seems that Netscape sends such a strange "If-Modified-Since" header.

  You can try to fix this problem, by removing the "int(...)"
  in "OFS.Image.py:186"

mod_since=int(DateTime(header).timeTime())

     

mod_since=DateTime(header).timeTime()

___
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] Zope Advocacy FAQ redux

2000-05-23 Thread J. Atwood

Shane,

The Advocacy FAQ is much need here is some help..

Benchmarks: http://www.zope.org/Members/BwanaZulia/benchmarks.html
Pro Zope Links: http://www.zope.org/Members/BwanaZulia/zope.html
 
How the competition does it..
Tomcat User Guide: http://jakarta.apache.org/tomcat/index.html  (a really
nice start)
Enhydra Tour: http://www.enhydra.org/software/enhydra/tour/index.html

There are also some of the links at the ZDP.

Let me know if you need anything else... I am trying to get involved with
the Open Directory Project to get the Zope area cleaned up a bit and that
might help as well.

J

 From: srl [EMAIL PROTECTED]
 Date: Tue, 23 May 2000 17:48:11 -0400 (EDT)
 To: [EMAIL PROTECTED]
 Subject: [Zope] Zope Advocacy FAQ redux
 
 So, after poking around on Zope.org for awhile, I haven't found an
 Advocacy FAQ. Have I missed something? I hope not, because I started
 one. 
 
 This is a very rough draft, hacked together from memory. As such,
 it's quite likely inaccurate on some particulars, and most certainly
 incomplete. I'll be working on it more over the next few days. If
 you've got comments or additions, please email me and I'll credit
 you.
 
 To make the Advocay FAQ more complete, I'd love to hear: if you're
 using Zope in a situation where you had to get management buy-in,
 what convinced them? What objections did they have, and how did you
 counter those objections?
 
 http://www.zope.org/Members/srl/advocacy_faq
 
 PS. this is my first try at any sort of public document for an
 open-source project. I'd love to hear criticism in email or onlist.
 
 
 srl
 -
 Shane Renee Landrum
 slandrum@cs.smith.edu
 
 
 
 ___
 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] manage_users problem

2000-05-23 Thread Evan Simpson

- Original Message - 
From: Steve Drees [EMAIL PROTECTED]
 I have the following code stuffed away in a DTML Method
 
 dtml-call "REQUEST.set('name','steve3')"
 dtml-call "REQUEST.set('password','test')"
 dtml-call "REQUEST.set('confirm','test')"
 dtml-call "REQUEST.set('roles','RegisteredUser')"
 dtml-call "acl_users.manage_users('Add',REQUEST,RESPONSE)"

Roles is supposed to be a list.  Try:

dtml-call "REQUEST.set('roles',['RegisteredUser'])"

Cheers,

Evan @ digicool  4-am


___
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] calling an Python builtin function

2000-05-23 Thread Felipe Alvarez Harnecker



Hi Zopistas,

it's a pain looking to variables defined in a form such as checkboxes
that can be a string if one is selected or a sequence if many are.

to solve this problem i'd like to do something like:

dtml-let checkbox="list(checkbox)"
...
...
/dtml-let

That is, calling the list function of Python on checkbox.


But that doesn't work, neither dtml-let checkbox="_.list(checkbox)"

Beside of this, is there a way to test if foo is a string or a
sequence or whatever ??

Thanks.

-- 
__

Felipe Alvarez Harnecker.  QlSoftware.

Tel. 09.874.60.17  e-mail: [EMAIL PROTECTED]

Potenciado por Ql/Linux  http://www.qlsoft.cl
__

___
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] calling an Python builtin function

2000-05-23 Thread Steve Alexander

Felipe Alvarez Harnecker wrote:
 
 Hi Zopistas,
 
 it's a pain looking to variables defined in a form such as checkboxes
 that can be a string if one is selected or a sequence if many are.
 
 to solve this problem i'd like to do something like:
 
 dtml-let checkbox="list(checkbox)"
 ...
 ...
 /dtml-let
 
 That is, calling the list function of Python on checkbox.
 
 But that doesn't work, neither dtml-let checkbox="_.list(checkbox)"
 
 Beside of this, is there a way to test if foo is a string or a
 sequence or whatever ??

Sounds like you might want this

  http://www.zope.org/Members/Zen/howto/FormVariableTypes

Coerce your form fields into the types you require by using magic
incantations of the form variablename:type.

--
Steve Alexander
Software Engineer
Cat-Box limited

___
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] Passing multi-line field into SQL

2000-05-23 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article [EMAIL PROTECTED], Tony
Mann [EMAIL PROTECTED] writes
We have a form with a textarea on it, that can contain line breaks. When we
try to pass it into an SQL statement

How do you enter line breaks into a text area?  

What database adapter are you using?

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

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOSphfrTRdIWzaLpMEQKc9ACg2/2B5q8Wtq0I8g6mgtbUGrWYMOIAoOp/
F4I2em/FF62qjkwoP/Ud/xG1
=2ttC
-END PGP SIGNATURE-

___
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] FTP

2000-05-23 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article [EMAIL PROTECTED]
, Stuart Foster [EMAIL PROTECTED] writes
When I try this I get an unauthorized user error. Can you give an example of
how to connect to port 8021 with a simple ftp program. 

Using WS_FTPPro, the address of the ftp server is the IP address of your
Zope installation.  In advanced tab, change the port setting from 21 to
8021.  Put your superuser id and password in the connection tab, and you
should be in.

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

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOSpi17TRdIWzaLpMEQI4JACgpJlPVve1fygT6GaETg+vVlZOZFMAn00k
0UFdcSKURFv/SqIaKTzSHIMp
=PKxf
-END PGP SIGNATURE-

___
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] creating a generic field gadget

2000-05-23 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article [EMAIL PROTECTED], Graham Chiu
[EMAIL PROTECTED] writes

To help me with the tedious business of creating forms, I would like to
make a generic field gadget.

I thus have a dtml-document which has a number of attributes: 
 Eg: fieldname = 'userid'
 fieldname-error = 'userid-error'


But I now want this dtml-document when rendered to read the values of
fieldname, and fieldname-error, and then generate the dtml equivalent to
this ...

dtml-if userid
 value="dtml-var userid"
/dtml-if br
dtml-if userid-error
 font size="2" color="red"dtml-var userid-error/fontbr
/dtml-if

Clues?

I presume the MetaPublisher product does this in rendering the dtml to
another final dtml-document.


Does anyone have any leads for me on this one? ( How come the easy
questions get 5 answers in row :-) ?)

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

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOSpkDbTRdIWzaLpMEQLJtACbBNK2nHGdfZffF2QowmsG+jmhn7oAoOjP
id684BKh5Zsy91GY8qptmcQH
=wDb8
-END PGP SIGNATURE-

___
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] Header/Sidebar question

2000-05-23 Thread Curtis Maloney

On Wed, 24 May 2000, Luis Cortes wrote:
 Hi Curtis,
 
   You provide this sample code a long time ago.  I have a question about
 it.   I really am sort of new at Zope and HTML, and I was wondering ...  Do the
 side bar and header "stick (stay on the screen)" even when you click to a new
 page on your web site.  If the answer is yes, how does your code accomplish
 this.  If not, what is it that you have to do "every time" someone selects a
 new link on your website.

Erm.. well, since this is in the standard_html_header, it is included at the
start of all DTML documents, unless you remove the
!--#var standard_html_header-- that is put in by default when you create a
DTML document or method.

So, technically, no, it does not 'stay', but is generated for each page.  This,
however, is an advantage, since it allows the index at the top, and information
at the side, to be updated simply, instead of having to deal with complex
frames targets stuff.

 
 Thanks for any help you can provide.

Not a problem.  Also, I didn't document this entirely in my first post,
neglecting to mention a couple of things that would be aparent to experienced
Zopistas, but not to newbies.  In the side-bar, there is the option to include
extra text on a per-folder AND per-document basis.

  hr size="1" width="80%"
  dtml-var side_bar
  hr size="1" width="80%"
  dtml-if sub_bar
dtml-var "_[sub_bar]"
  /dtml-if

This means that 'side_bar' will be rendered at this point, and if there is an
attributed of 'sub_bar', the object it names will also be rendered.

 
 Regards,
 Luis.
 

-- 
Have a better one,
Curtis.

dtml-var standard_work_disclaimer

___
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] creating a generic field gadget

2000-05-23 Thread R. David Murray

On Wed, 24 May 2000, Graham Chiu wrote:
 But I now want this dtml-document when rendered to read the values of
 fieldname, and fieldname-error, and then generate the dtml equivalent to
 this ...
 
 dtml-if userid
  value="dtml-var userid"
 /dtml-if br
 dtml-if userid-error
  font size="2" color="red"dtml-var userid-error/fontbr
 /dtml-if

Here's a clue grin:

dtml-if "_.has_key(fieldname)"
  value="dtml-var "_[fieldname]""
dtml-else

This checks for the existence of the contents of fieldname as
a valid name in the name space, which may or may not be what
you are looking for, but at least it is a clue.  Other clues
might be 'this()' and 'hasattr()'.

--RDM


___
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] How to change an object with a variable ?

2000-05-23 Thread calvin33




Ihaveadd a property 
to an object_O :
 "path.object_O.manage_addProperty(id,file,content_type)"

But i wantedto 
change "object_O" with another variable 
"var_V" which is an object like imae or 
file.

How to do it 
?


[Zope] [OT] Re: [Zope] python nigglettes

2000-05-23 Thread Bill Anderson

 Tom Smith wrote:
 
 hi all, I'm currently experimenting with zope and noodling with
 pythoncan anyone give me an answer on these?
 
 Python is beautiful (nearly as beautiful as Prograph (but that's
 another story)).
 
  I'm a BIG fan of human readable code, I loved HyperCard and
 pathelogically refused to get my head past Perl. But there a few
 irritants that I really need to know why they're there.

  0. People sending HTML to emailing lists.

 1. ":" This smacks of geek...surely the interpreter could figure
 out if this wasn't there...couldn't it? Surely there's a workaround
 for someone like me. Isn't there? What if I "promised" never to
 write one-line functions, could I do without it then?

See the recent discussion on c.l.py. Basically, there are several
situations where it makes clarity, not only for reader/pprogramer but
for the interpreter.

 
 2."elif" Boy this is awkward, I though "elseif" was bad but
 "elif" !! Can I use/implement alternatives "elseif" would be a start
 "else if" would be better...more natural.

Personally, I write fery few elifs, mainly a serioes of ifs with
continues will do niceley.

___
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] Advocacy FAQ?

2000-05-23 Thread Bill Anderson

srl wrote:
 
 So, I was hanging out on IRC last night, and mentioned Zope to
 someone who's fairly active in the Python community. I ended up
 receiving a rant about how "bloated" and slow Zope is, and anecdotal
 evidence about Zope crashing Linux servers repeatedly.

Those conviced by 'anecdotal' evidence are rarely worth the effort,
IME.
Perhasp a rant about how bloated and slow python in compared to C...
nah not worth the ffort either. Basically, slow is a relative term. if
you considered it worht your effort, I would ask him for specific
details. Why _exactly_ is Zope 'bloated', slow in _what_, and ocmpared
to _what_? When pressed for these, this type person tend to just shut
down, and begin waving their hands.

 
 I know there was/is a memory leak that might be to blame in this

There was more talk about one due to many people misunderstanding the
reporting tools of their OS. That isn't to say there are/were none,
but that most of them turned out to be misunderstandings.

 case, but the fact remains: at least one person who might have been
 convinced that Zope is cool has been *seriously* turned off to it,
 for reasons of speed and memory hogging in a particular environment.

No, for _perceived_ slowness, and _alleged_ memory problems. On top of
that, since we cannot possibly please everyone, this ounds like
something of little consequences. Sure, Zope can be 'sped up', but
then, so can python. Zope is written in python with a few things
written in C.

All things are slow, and all things are fast, it all depends on your
point of view. Slow compared to what? Consider whether the comparison
is valid. For example, serving static, unchanging html files. Zope
loses there, but it was not designed to do that. Zope was designed as
a coherent environment, and as such will incure some overhead.

In addition to that, you would need to take into account the
environmentof the comparison. Want to compare Zope's speed to other
servers? Test against ZServer, and not Zope behind another. I can show
conclusively, and I doubt any here would doubt it anyway, that ZServer
is faster than any other method of serving up Zope (that we have found
anyway).
 
 Is there a Zope Advocacy FAQ somewhere I can use when people throw
 things like this at me?

Mostly just apply principles of reason and logic. Ask for specifics,
ask for sources, then carefully, and accurately deal with what is, or
is not, provided. Often times, there will be none provided. Anectdotal
evidence should be taken lightly, with little import when considering
advocacy arguments. Otherwise, you wind up with an anecdote war, wich
is neither helpful, nor useful.

I would take claims of 'taking down linux' with a very hefty dose of
salt. ATM, I don't recall any reports of ths happening.


Stay objective and rational; and if that doesn't work, conclude with
'Not all apps are all things to all people. Feel free to use your
own.'. 

:-)

___
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] ZClass acting up?

2000-05-23 Thread Tres Seaver

Erik Enge wrote:
 
 Tres Seaver [EMAIL PROTECTED] writes:
 
  If you fill out the ID and press 'Add', le voilà!
 
 Yeah, your right! But that still means I need to do
 some hacking about, and me and my semantics does not
 like that ;-)
 
  (Actually it looks like a duplicate of #811).
 
 How can I see number 811, it just shows up to 600 and something?

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

The "sequence numbers" shown on the query results page are bogus -- they
are actually the number of the item within the current result set, which
is an almost completely useless piece of information.

With regard to your original problem:  I would add a DTMLMethod to
the "project" class which creates a named sub-object.  Make it one
of the views of the class so that you can get to it through the
management interface, and you are set (the "Contents" view is kind
of a catch-all, anyway).

Best,

Tres.
-- 
=
Tres Seaver  [EMAIL PROTECTED]
Digital Creations   "Zope Dealers"   http://www.zope.org

___
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] creating a generic field gadget

2000-05-23 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article [EMAIL PROTECTED]
, R. David Murray [EMAIL PROTECTED] writes
Here's a clue grin:

dtml-if "_.has_key(fieldname)"
  value="dtml-var "_[fieldname]""
dtml-else

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

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOSqvM7TRdIWzaLpMEQJ7uQCgnfUZ6EI4Tjr0bhulRnOMO4YgZzwAoKuN
Q+ieEnfiTQF/T/Qk8KId+dKb
=nQxO
-END PGP SIGNATURE-

___
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] FYI: Documentation

2000-05-23 Thread Josh Robb

Can/Should/Will this documentation be avaliable on the Zope.org (or
zdp.zope.org) site.


___
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 )