[Zope] Re: Zope digest, Vol 1 #1495 - 52 msgs

Alex Finck alex.finck@epigenomics.com
Fri, 29 Jun 2001 13:36:16 +0200


Ja, gerne.

Nächste Woche habe ich viel mehr Zeit als 
wir die Milestones diese Woche noch 
vertig machen. Wir könnten dann 
ab Montag einfach einen Kaffee am Museuminsel 
nehmen um darüber zu sprechen. Bis später,


Alex.

zope-request@zope.org wrote:
> 
> Send Zope mailing list submissions to
>         zope@zope.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.zope.org/mailman/listinfo/zope
> or, via email, send a message with subject or body 'help' to
>         zope-request@zope.org
> 
> You can reach the person managing the list at
>         zope-admin@zope.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Zope digest..."
> 
> Today's Topics:
> 
>    1. xml-rpc authentication (Tim Hicks)
>    2. Yet another simple question (Peter Bengtsson)
>    3. Re: xml-rpc authentication (Andy McKay)
>    4. Re: Oracle Error Messages (Chris McDonough)
>    5. Re: Is Zope.org DOWN? (Andy McKay)
>    6. A new Zope powered site in education (Jerome Alet)
>    7. Re: WebDrive? (Chris Withers)
>    8. How does a dtml-method of a ZClass refer to the ZClass instance? (Jean Lagarde)
>    9. Re: Want to Build Bulletin Board for Local Events (Dieter Maurer)
>   10. Re: Re: Oracle Error Messages (Hannu Krosing)
>   11. object id and URL (Phat Phish)
>   12. how do i make a python script ? (Sven Fischer)
>   13. help!!! manage_workspace is broken! (Andy Pahne)
>   14. RE: help!!! manage_workspace is broken! (Farrell, Troy)
>   15. Re: image uploading (Phil Harris)
>   16. Re: help!!! manage_workspace is broken! (Oleg Broytmann)
>   17. RE: How does a dtml-method of a ZClass refer to the ZClass instance? (Jean Lagarde)
>   18. Re: acquisition problem (Dieter Maurer)
>   19. Re: help!!! manage_workspace is broken! (zbir@urbanape.com)
>   20. Re: manage_upload and file objects (Dieter Maurer)
>   21. Re: Python Path? (Dieter Maurer)
>   22. Re: help!!! manage_workspace is broken! (Andy Pahne)
>   23. Re: help!!! manage_workspace is broken! (Andy Pahne)
>   24. Please test latest CVS of the Zope AddressBook (Mike Renfro)
>   25. Is anybody really working on digest auth? (Clint Byrum)
>   26. Request for ideas (indexing documents). (Jason C. Leach)
>   27. Re: Request for ideas (indexing documents). (Casey Duncan)
>   28. Re: acquisition problem (kosh@aesaeion.com)
>   29. Re: object id and URL (=?iso-8859-1?q?J=F8rgen=20Hermanrud=20Fjeld?=)
>   30. MSAccess (Montagne, Michael)
>   31. users managing their own user details (tomc@evetcia.com)
>   32. Re: file upload to mysql (Andy Dustman)
>   33. Re: Want to Build Bulletin Board for Local Events (Bill Bell)
>   34. xml-rpc.binary and 'seek' (was Re: [Zope] xml-rpc authentication) (Tim Hicks)
>   35. BLOB from PotgreSQL on web page (Vid B)
>   36. zope interface suggestion (Jason Byron)
>   37. NotSupportedError during ZMySQLDA Installation (Ravindra)
>   38. Re: zope interface suggestion (Peter Bengtsson)
>   39. Mailform & Sendmail (=?iso-8859-1?Q?Tapio_H=FCffner?=)
>   40. Re: BLOB from PotgreSQL on web page (Federico Di Gregorio)
>   41. Re: Re: Oracle Error Messages (Ricardo Seghizzi)
>   42. [Q] Using external CORBA objects (Enrico Sirola)
>   43. Re: zope interface suggestion (Peter Bengtsson)
>   44. Re: users managing their own user details (Chris Withers)
>   45. Newsyslog (Daniel Fairs)
>   46. Help with iterating thru a list of objects (=?iso-8859-1?Q?Dario_Lopez-K=E4sten?=)
>   47. Re: userfolder for interbase (Arno Gross)
>   48. RE: Python Path? (Etienne Labuschagne)
>   49. Suddenly I cannot add new objects (=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?=)
>   50. Re: Help with iterating thru a list of objects (Peter Bengtsson)
>   51. Making sure all users are authenticated (David Goodenough)
>   52. Re: Making sure all users are authenticated (=?iso-8859-1?q?J=F8rgen=20Hermanrud=20Fjeld?=)
> 
> --__--__--
> 
> Message: 1
> From: "Tim Hicks" <tim@sitefusion.co.uk>
> To: <zope@zope.org>
> Date: Thu, 28 Jun 2001 17:20:18 +0100
> Subject: [Zope] xml-rpc authentication
> 
> I am trying to use xml-rpc to get hold of some files uploaded to one Zope
> server, send them to another for some processing, and then have them
> returned to the first server.  My difficulty is in the authentication part.
> I have read Amos' tutorial (http://www.zope.org/Members/Amos/XML-RPC), and
> understand that xmlrpclib.py in its standard form does not handle http
> authentication.  My problem is that I'm not really that hot on python, so I
> don't totally understand how to implement Amos' BasicAuthTransport class.
> Where should I put this code?  Do I need to make any more alterations (other
> than subclassing 'transport' as opposed to 'xmlrpclib.transport')?
> 
> I had a go at getting things to work; here's what I did:
> 
> 1)    Made a copy of xmlrpclib.py named xmlrpclibx.py to play with
> 2)    Pasted in Amos' BasicAuthTransport class code.
> 3)    Changed the line in the 'Server' class so that it set 'transport' to
> 'BasicAuthTransport()'
> 
> ... but I simply got a syntax error when I tried to 'import xmlrpclibx' in
> my external method.
> 
> Can anyone help me out?
> 
> thanks
> 
> tim
> 
> --__--__--
> 
> Message: 2
> From: "Peter Bengtsson" <mail@peterbe.com>
> To: <zope@zope.org>
> Date: Thu, 28 Jun 2001 18:16:20 +0200
> Subject: [Zope] Yet another simple question
> 
> If a ZSQL Method *fails to cache* its result (internally by Zope, not by
> HTTP caching),
> when it should,
> what could then be the reason?
> 
> I have read a few posts on this in the archives but I see no clear
> solutions.
> It seems to be that if the SQL string from Zope to the database adapter is
> one whitespace different it spawns a new db request.
> We think our SQL is the same all the time, but it fails to cache and the Z
> SQL Methods slow down our site.
> 
> Peter
> 
> --__--__--
> 
> Message: 3
> From: "Andy McKay" <andym@ActiveState.com>
> To: "Tim Hicks" <tim@sitefusion.co.uk>, <zope@zope.org>
> Subject: Re: [Zope] xml-rpc authentication
> Date: Thu, 28 Jun 2001 09:48:26 -0700
> 
> > Where should I put this code?  Do I need to make any more alterations
> (other
> > than subclassing 'transport' as opposed to 'xmlrpclib.transport')?
> 
> Nope. ZSyncer, uses a script based on Amos's original code very successfully
> btw. I use it a great deal. If you look at that python it might help
> basically just put xmlrpclibBasicAuth.py (from ZSyncer) in Zope/bin/lib.
> 
> And instead of calling xmlrpclib, call xmlrpclibBasicAuth:
> 
> from xmlrpclibBasicAuth import Server
> s = Server('http://foo.bar.com', 'user', pwd')
> s.hello()
> 
> Cheers.
> 
> --
>   Andy McKay.
> 
> --__--__--
> 
> Message: 4
> From: "Chris McDonough" <chrism@digicool.com>
> To: "Ricardo Seghizzi" <ricardo@cnbe.mar.org.uk>
> Cc: <zope@zope.org>
> Date: Thu, 28 Jun 2001 12:40:46 -0400
> Subject: [Zope] Re: Oracle Error Messages
> 
> Ricardo,
> 
> Yes, I think you can only catch all exceptions or a string exception with
> dtml-try... I would suggest catching them all with <dtml-try><dtml-except>
> (although I know you claim it doesn't work).  I can't help you much here if
> you're having problems any further than what's in the docs, I only use DTML
> in the simplest presentation code, never anything that requires a
> <dtml-try>.
> 
> If you can't get <dtml-try> to work I might suggest using an external method
> instead of a DTML method, importing the error class into it from DCOracle
> and catching that in the place where the error occurs.
> 
> - C
> 
> PS - I am cc'ing the Zope list on this message.. if possible, please send
> further questions to the list... thanks.
> 
> ----- Original Message -----
> From: Ricardo Seghizzi
> To: Chris McDonough
> Sent: Thursday, June 28, 2001 12:21 PM
> Subject: Oracle Error Messages
> 
> Hi Chris,
> 
> I created a website that connect to an Oracle 8.0 DB.
> 
> My web application is working fine. I created a web application that access
> a external DB in only 2 weeks!
> And during this period I as learning Zope and DTML as well. Not to bad...
> 
> Zope is wonderfull...
> 
> When my application runs and access the Database if an error occurs the
> oracle error will be displayed on the page.
> I wold like to know how could I catch the error and handle the error message
> to give something more
> understandable for my end users?
> I try to use <dtml-try> and <dtml-exepcion> but I didn't manage to make it
> work.
> 
> Do you kown how this cold be done?
> 
> Regards'
> 
> Ricardo
> 
> --__--__--
> 
> Message: 5
> From: "Andy McKay" <andym@ActiveState.com>
> To: "Tino Wildenhain" <tino@wildenhain.de>, <gregor@hoffleit.de>
> Cc: "Joachim Werner" <joe@iuveno-net.de>,
>    "Norman Khine" <khine@bmpublications.co.uk>,
>    "Zope Mailing List" <zope@zope.org>
> Subject: Re: [Zope] Is Zope.org DOWN?
> Date: Thu, 28 Jun 2001 09:50:41 -0700
> 
> I made a fishbowl proposal of a very simple mirror a while back:
> http://dev.zope.org/Wikis/DevSite/Proposals/ZopeSoftwareMirror
> 
> Cheers.
> --
>   Andy McKay.
> 
> ----- Original Message -----
> From: "Tino Wildenhain" <tino@wildenhain.de>
> To: <gregor@hoffleit.de>
> Cc: "Joachim Werner" <joe@iuveno-net.de>; "Norman Khine"
> <khine@bmpublications.co.uk>; "Zope Mailing List" <zope@zope.org>
> Sent: Thursday, June 28, 2001 7:48 AM
> Subject: Re: [Zope] Is Zope.org DOWN?
> 
> > Hi,
> >
> > --On Donnerstag, 28. Juni 2001 12:53 +0200 Gregor Hoffleit
> > <gregor@mediasupervision.de> wrote:
> >
> > > On Thu, Jun 28, 2001 at 12:02:44PM +0200, Tino Wildenhain wrote:
> > >> --On Donnerstag, 28. Juni 2001 11:35 +0200 Joachim Werner
> > >> <joe@iuveno-net.de> wrote:
> > >> >> I am trying to log on to the zope.org site but get an error that
> > >> >> cannot find server?
> > >> >
> > >> > Yes, Zope.org is down. Maybe it is time to start setting up a mirror
> in
> > >> > Europe? ;-)
> > >>
> > >> Had this idea already, including a willingly and good connected
> provider
> > >> :-) The problem so far is the process of mirroring the database
> > >> in real time and resync in case of disconnect.
> > >
> > > Wouldn't this be a nice showcase for the technologies around ZEO ? I
> guess
> > > the technologies necessary for a real distributed server network are
> 'not
> > > yet there', but (I am not able to browse the fishbowl pages ;-) I think
> > > fishbowl proposals are talking about these kinds of things.
> > >
> > Unfortunately ZEO does not support this yet. You cant mirror/reconnect
> > with it in the current version.
> >
> > Regards
> > Tino
> >
> >
> > _______________________________________________
> > Zope maillist  -  Zope@zope.org
> > 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 )
> >
> 
> --__--__--
> 
> Message: 6
> Date: Thu, 28 Jun 2001 18:54:42 +0200 (MET DST)
> From: Jerome Alet <alet@unice.fr>
> To: zope@zope.org
> cc: projet-zf@zope-france.org
> Subject: [Zope] A new Zope powered site in education
> 
> Hi,
> 
> I'm glad to announce that the new website of the Medicine School of Nice,
> from Nice-Sophia Antipolis University (France) is now "Zope Powered" (tm)
> 
> You can get it at: http://wwwmed.unice.fr/
> 
> or if DNS is not synced yet, at: http://134.59.53.64/
> 
> Some parts are still under heavy Zopisation...
> 
> It doesn't contain any learning material yet.
> 
> It was essentially made up by IT students, and unfortunately
> uses some JavaScript which sucks in Netscape...
> 
> -------------------------------------------------------
> 
> Salut,
> 
> je suis heureux de vous annoncer que le nouveau site web de la Faculte de
> Medecine de Nice, Universite de Nice-Sophia Antipolis est desormais "Zope
> Powered" (tm)
> 
> Vous pouvez y acceder sur: http://wwwmed.unice.fr
> 
> ou si le DNS n'est pas encore synchronise, a: http://134.59.53.64/
> 
> Quelques parties sont encore en cours de Zopisation intensive...
> 
> Il ne contient pas encore de materiel d'apprentissage.
> 
> Il a ete essentiellement mis en place par des etudiants en informatique,
> et malheureusement utilise un peu de JavaScript qui merde dans Netscape.
> 
> -------------------------------------------------------
> 
> Thank you.
> Merci.
> 
> Jerome Alet - alet@unice.fr - http://cortex.unice.fr/~jerome
> Fac de Medecine de Nice        http://wwwmed.unice.fr
> Tel: (+33) 4 93 37 76 30     Fax: (+33) 4 93 53 15 15
> 28 Avenue de Valombrose - 06107 NICE Cedex 2 - FRANCE
> 
> --__--__--
> 
> Message: 7
> Date: Thu, 28 Jun 2001 18:24:04 +0100
> From: Chris Withers <chrisw@nipltd.com>
> Organization: New Information Paradigms
> To: "Magnus Heino (Rivermen)" <magnus.heino@rivermen.se>,
>         zope@zope.org
> Subject: [Zope] Re: WebDrive?
> 
> "Magnus Heino (Rivermen)" wrote:
> >
> > I long time ago, on one of the Zope mailinglists, I remember that you said
> > that you were using WebDrive instead of webDAV or FTP together with
> > Dreamweaver. Am I righ? :-P
> 
> Only sometimes ;-)
> 
> > If so, how did you get it to work? If I use webdrive and edit and existing
> > ZPT file with it and save, what happens is that the ZPT file is removed on
> > the server, and a new file is written with the type File.
> 
> This is a problem with your editor. When it's saving it's doing so by:
> 
> 1. creating a new temporary file (gets created as a file object :-S)
> 2. deleting the old file (your ZPT)
> 3. renaming the temporary file.
> 
> You need to find a way to persuade your editor not to do this ;-)
> 
> > If I use FTP from within Dreamweaver, it works fine.
> 
> Weird...
> 
> > But I like the thing
> > with WebDrive that you can turn off all caches. If I edit something with the
> > Zope web interface instead of using DW, it seems as if DW doesn't notice
> > that the file is changed.
> 
> ...doesn't suprise me :-S
> 
> cheers,
> 
> Chris
> 
> --__--__--
> 
> Message: 8
> From: "Jean Lagarde" <jean.lagarde@eer-rc.com>
> To: <zope@zope.org>
> Date: Thu, 28 Jun 2001 11:10:26 -0700
> Subject: [Zope] How does a dtml-method of a ZClass refer to the ZClass instance?
> 
> Help!
> 
> I think I still have a long way to go to fully grasp the
> namespace/acquisition/whereverelsevaluescomefrom structure of Zope (and I
> suppose I'll find all of it rather obvious once I 'get it').
> 
> Simply put, I would like to access the objectValues (i.e. the contained
> objects) of a ZClass instance (based on ObjectManager) from a dtml-method of
> the ZClass, no matter what the calling path is, and I just can't figure it
> out.
> 
> My specific problem is that I am calling the dtml-method of a ZClass
> instance from a dtml-document contained in a second instance of that same
> ZClass, and no matter what I've tried so far, the dtml-method always ends up
> using the objectValues in the second instance. I have verified that the
> ZClass dtml-method is called within the context of the instance I want,
> because if I insert <dtml-var aPropertyOfMyZClass> in the method, it spits
> out the correct value of the property for the instance. What I really need
> is to get a hold of the ZClass instance itself, let's call it 'self', so I
> can use 'self.objectValues()' inside of my dtml-method. It seems to me that
> if I can get to aPropertyOfMyZClass, I should be able to get to the instance
> that owns that property, but how?
> 
> I know that 'aq_parent' and 'this' are not what I need. I have also tried
> 'superValues()', and 'getParentNode().objectValues()', just in case.
> 
> Any suggestion would be appreciated. I have kept the description of my setup
> pretty simple here (there are a few intermediate calls between the dtml
> document and the dtml-method of my ZCLass); I can provide more details as
> required.
> 
> Also, nobody has volunteered to answer my question at
> http://groups.yahoo.com/group/zope/message/64321; given the flow of messages
> on this list queries quickly get lost, so I hope that this reminder will get
> me a reply or two ;-)
> 
> Cheers,
> 
> Jean
> 
> --__--__--
> 
> Message: 9
> From: Dieter Maurer <dieter@handshake.de>
> Date: Wed, 27 Jun 2001 21:25:10 +0200 (CEST)
> To: bill-bell@bill-bell.hamilton.on.ca
> Cc: zope@zope.org
> Subject: Re: [Zope] Want to Build Bulletin Board for Local Events
> 
> Bill Bell writes:
>  > I live in a rural community. As a public service I'd like to build a site
>  > that is capable of accepting short notices about upcoming events
>  > such as theatre performances, tavern gigs, church suppers, etc
>  > and then of displaying them using either a calendar page interface
>  > or scrolling list.
> Look at the "calender tag" and the "Event Folder" (--> zope.org).
> 
> Dieter
> 
> --__--__--
> 
> Message: 10
> Date: Thu, 28 Jun 2001 20:40:14 +0200
> From: Hannu Krosing <hannu@tm.ee>
> To: Ricardo Seghizzi <ricardo@cnbe.mar.org.uk>
> CC: Chris McDonough <chrism@digicool.com>, zope@zope.org
> Subject: Re: [Zope] Re: Oracle Error Messages
> 
> > I created a website that connect to an Oracle 8.0 DB.
> >
> > My web application is working fine. I created a web application that access
> > a external DB in only 2 weeks!
> > And during this period I as learning Zope and DTML as well. Not to bad...
> >
> > Zope is wonderfull...
> >
> > When my application runs and access the Database if an error occurs the
> > oracle error will be displayed on the page.
> > I wold like to know how could I catch the error and handle the error message
> > to give something more
> > understandable for my end users?
> > I try to use <dtml-try> and <dtml-exepcion> but I didn't manage to make it
> > work.
> 
> Houw did you use <dtml-try>/<dtml-except> ?
> 
> What error do you get from Oracle ?
> 
> > Do you kown how this cold be done?
> 
> I'm not sure about DCOracle, but I have hade similar uncatchable
> behaviour when
> some underlying libraries don't catch the error but print it to stdout
> instead.
> 
> I even had PoPy just drop dead and produced _no_ output whatsoever - my
> bug-report on it lingers on sourceforge for months ;(
> 
> -------------
> Hannu
> 
> --__--__--
> 
> Message: 11
> From: "Phat Phish" <phatphishy@hotmail.com>
> To: zope@zope.org
> Date: Thu, 28 Jun 2001 14:52:01 -0400
> Subject: [Zope] object id and URL
> 
> <html><DIV>
> <DIV>hi,</DIV>
> <DIV>&nbsp;</DIV>
> <DIV>can someone help me out with this:</DIV>
> <DIV>&nbsp;</DIV>
> <DIV>i have just made an online course catalog by making all the courses as different objects in a ZClass.&nbsp; i added a link to each object by using &lt;dtml-var id&gt;.&nbsp; but then that means that when the cursor is on the link, only the id of the object is being shown&nbsp;on the browser's status bar.&nbsp; i was wondering what code i need to write so that the course department &lt;dtml-var dept&gt; will be shown on the status bar (but not the id).&nbsp; </DIV>
> <DIV>&nbsp;</DIV>
> <DIV>thanks a lot!</DIV>
> <DIV>&nbsp;</DIV>
> <DIV>phat-phish</DIV></DIV><br clear=all><hr>Get your FREE download of MSN Explorer at <a href="http://explorer.msn.com">http://explorer.msn.com</a><br></p></html>
> 
> --__--__--
> 
> Message: 12
> From: "Sven Fischer" <sven.fischer@chronowax.com>
> To: <zope@zope.org>
> Date: Thu, 28 Jun 2001 21:59:34 +0200
> Subject: [Zope] how do i make a python script ?
> 
> hello,
> 
> i have this z-class with a text element and i'd like to parse this text
> before displaying it ? say, evrytime there is "zope" written in it i'd like
> to replace it on the fly with <b>zope</b>.
> 
> i think the right direction to look at is a script (a pythonscript ?) that
> would be called as a method on this element. am i right or a i wrong ? what
> would the best starting point be ?
> 
> thx
> 
> $ven
> 
> --__--__--
> 
> Message: 13
> From: a.pahne@t-online.de (Andy Pahne)
> To: "Zope Mailinglist" <zope@zope.org>
> Date: Thu, 28 Jun 2001 22:25:44 +0200
> Subject: [Zope] help!!! manage_workspace is broken!
> 
> Oh no, /manage_workspace is broken! If I go to the management-screens in the
> main window the content is shown and not manage_workspace. what can I do to
> access it again?
> 
> Andy Pahne
> ap@big1.de
> 
> --__--__--
> 
> Message: 14
> From: "Farrell, Troy" <troy.farrell@wcg.com>
> To: "'a.pahne@t-online.de'" <a.pahne@t-online.de>, Zope Mailinglist
>          <zope@zope.org>
> Subject: RE: [Zope] help!!! manage_workspace is broken!
> Date: Thu, 28 Jun 2001 15:39:05 -0500
> 
> what happens if you go to http://yourserver/manage_workspace
> ?
> 
> Troy
> 
> -----Original Message-----
> From: a.pahne@t-online.de [mailto:a.pahne@t-online.de]
> Sent: Thursday, June 28, 2001 3:26 PM
> To: Zope Mailinglist
> Subject: [Zope] help!!! manage_workspace is broken!
> 
> Oh no, /manage_workspace is broken! If I go to the management-screens in the
> main window the content is shown and not manage_workspace. what can I do to
> access it again?
> 
> Andy Pahne
> ap@big1.de
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> 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 )
> 
> --__--__--
> 
> Message: 15
> From: "Phil Harris" <phil.harris@zope.co.uk>
> To: "Chris Withers" <chrisw@nipltd.com>, <zope@zope.org>
> Subject: Re: [Zope] image uploading
> Date: Thu, 28 Jun 2001 21:51:13 +0100
> 
> Chris
> 
> You mean you don't get paid to answer these questions/cause all these
> problems.
> 
> 8=AC)
> 
> ----- Original Message -----
> From: "Chris Withers" <chrisw@nipltd.com>
> To: "Tamas Amon" <sajt@amon.hu>; <zope@zope.org>
> Sent: Thursday, June 28, 2001 4:58 PM
> Subject: Re: [Zope] image uploading
> 
> > Tamas,
> >
> > Keep things on the list, I'm not a personal Zope answers solution unles=
> s
> you pay
> > me ;-)
> >
> > Chris
> >
> > Tamas Amon wrote:
> > >
> > > Now wll,
> > > I try the next:
> > > --
> > > <dtml-if file1>
> > > <!--#call "REQUEST.set('randomID', _.random.random()*1000000000)"-->
> > > <!--#call "REQUEST.set('randomID',_.str(_.int(randomID)))"-->
> > > <dtml-var randomID>
> > > <!--#call "manage_addImage('/images/'+randomID,REQUEST['file1'],'')"-=
> ->
> > > </dtml-if>
> > >
> > > <form method=3D"post" ENCTYPE=3D"multipart/form-data">
> > > <input type=3Dfile name=3Dfile1>
> > > <input type=3Dsubmit>
> > > </form>
> > > <dtml-var REQUEST>
> > > --
> > >
> > > And when I want to upload a picture I get:
> > > Error Type: Bad Request
> > > Error Value: The id "/images/148842072" contains characters illegal i=
> n
> URLs.
> > >
> > > What is the problem, or how I can move this picture to an other
> directory?
> > >
> > > >-----Original Message-----
> > > >From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
> > > >Chris Withers
> > > >Sent: Thursday, June 28, 2001 4:53 PM
> > > >To: zope@zope.org
> > > >Subject: re: [Zope] image uploading
> > > >
> > > >
> > > >Tamas Amon wrote:
> > > >>
> > > >> Hello,
> > > >>
> > > >> Yes I read it, but i didn't find anything. Where can I find
> > > >> somethig? (Which chapter?)
> > > >
> > > >In that case, may I suggest the mailing list archives:
> > > >http://zope.nipltd.com/public/lists.html
> > > >
> > > >cheers,
> > > >
> > > >Chris
> > > >
> > > >_______________________________________________
> > > >Zope maillist  -  Zope@zope.org
> > > >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  -  Zope@zope.org
> > 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 )
> 
> --__--__--
> 
> Message: 16
> Date: Fri, 29 Jun 2001 00:57:12 +0400 (MSD)
> From: Oleg Broytmann <phd@phd.fep.ru>
> Reply-To: Oleg Broytmann <phd@phd.fep.ru>
> To: Andy Pahne <a.pahne@t-online.de>
> cc: Zope Mailinglist <zope@zope.org>
> Subject: Re: [Zope] help!!! manage_workspace is broken!
> 
> On Thu, 28 Jun 2001, Andy Pahne wrote:
> > Oh no, /manage_workspace is broken! If I go to the management-screens in the
> > main window the content is shown and not manage_workspace. what can I do to
> > access it again?
> 
>    You are using a browser that is not completely in accordance with Zope.
> Use latest version of Netscape, Mozilla or M$IE.
> 
> Oleg.
> ----
>      Oleg Broytmann     http://www.zope.org/Members/phd/     phd@phd.pp.ru
>            Programmers don't die, they just GOSUB without RETURN.
> 
> --__--__--
> 
> Message: 17
> From: "Jean Lagarde" <jean.lagarde@eer-rc.com>
> To: <zope@zope.org>
> Date: Thu, 28 Jun 2001 14:02:46 -0700
> Subject: [Zope] RE: How does a dtml-method of a ZClass refer to the ZClass instance?
> 
> Of course, one obvious solution is to use a Python script instead, which is
> what I have now done, but I am still curious to know if this is possible
> with a dtml method.
> 
> Cheers,
> 
> Jean
> 
> > -----Original Message-----
> > From: Jean Lagarde
> > Sent: Thursday, June 28, 2001 11:10 AM
> >
> > Help!
> >
> > I think I still have a long way to go to fully grasp the
> > namespace/acquisition/whereverelsevaluescomefrom structure of
> > Zope (and I suppose I'll find all of it rather obvious once I 'get it').
> >
> > Simply put, I would like to access the objectValues (i.e. the
> > contained objects) of a ZClass instance (based on ObjectManager)
> > from a dtml-method of the ZClass, no matter what the calling path
> > is, and I just can't figure it out.
> >
> > My specific problem is that I am calling the dtml-method of a
> > ZClass instance from a dtml-document contained in a second
> > instance of that same ZClass, and no matter what I've tried so
> > far, the dtml-method always ends up using the objectValues in the
> > second instance. I have verified that the ZClass dtml-method is
> > called within the context of the instance I want, because if I
> > insert <dtml-var aPropertyOfMyZClass> in the method, it spits out
> > the correct value of the property for the instance. What I really
> > need is to get a hold of the ZClass instance itself, let's call
> > it 'self', so I can use 'self.objectValues()' inside of my
> > dtml-method. It seems to me that if I can get to
> > aPropertyOfMyZClass, I should be able to get to the instance that
> > owns that property, but how?
> >
> > I know that 'aq_parent' and 'this' are not what I need. I have
> > also tried 'superValues()', and 'getParentNode().objectValues()',
> > just in case.
> >
> > Any suggestion would be appreciated. I have kept the description
> > of my setup pretty simple here (there are a few intermediate
> > calls between the dtml document and the dtml-method of my
> > ZCLass); I can provide more details as required.
> 
> --__--__--
> 
> Message: 18
> From: Dieter Maurer <dieter@handshake.de>
> Date: Thu, 28 Jun 2001 22:52:15 +0200 (CEST)
> To: <kosh@aesaeion.com>
> Cc: <zope@zope.org>
> Subject: Re: [Zope] acquisition problem
> 
> kosh@aesaeion.com writes:
>  > I am trying to make an object behave like a dtml-method but with one
>  > exception. I want it to look in itself first to find the data then look
>  > around it like a dtml-method does.
> That is exactly how a DTML document works.
> 
> Dieter
> 
> --__--__--
> 
> Message: 19
> From: zbir@urbanape.com
> Reply-To: zbir@urbanape.com
> To: Oleg Broytmann <phd@phd.fep.ru>
> cc: Andy Pahne <a.pahne@t-online.de>, Zope Mailinglist <zope@zope.org>
> Subject: Re: [Zope] help!!! manage_workspace is broken!
> Date: Thu, 28 Jun 2001 17:05:32 -0400
> 
> > On Thu, 28 Jun 2001, Andy Pahne wrote:
> > > Oh no, /manage_workspace is broken! If I go to the management-screens
> > > in the main window the content is shown and not manage_workspace.
> > > what can I do to access it again?
> >
> >    You are using a browser that is not completely in accordance with Zope.
> > Use latest version of Netscape, Mozilla or M$IE.
> 
> Or he has messed up permissions.
> 
> Andy, can you get to yoursite.com/manage_main ?
> 
> me = { 'name' : 'Zachery Bir', 'email' : 'zbir@urbanape.com',
>        'voice' : '(804) 353-3742', 'url' : 'http://www.urbanape.com/' }
> 
> --__--__--
> 
> Message: 20
> From: Dieter Maurer <dieter@handshake.de>
> Date: Thu, 28 Jun 2001 22:54:37 +0200 (CEST)
> To: "Sedat Yilmazer" <sedat@kibele.com>
> Cc: <zope@zope.org>
> Subject: Re: [Zope] manage_upload and file objects
> 
> From: "Sedat Yilmazer" <sedat@kibele.com>
> Sender: zope-admin@zope.org
> To: <zope@zope.org>
> Subject: [Zope] manage_upload and file objects
> Date: Thu, 28 Jun 2001 16:25:23 +0300
> 
>  I have a special httpd clinet that sends the file encoded as base64
> In the DocLibrary product  they have
> 
>   doc.manage_upload(REQUEST.file)
> 
> Your HTTP client should set the "Content-Transfer-Encoding" to
> "base64". Then, Zope would decode the image data automatically.
> 
> Dieter
> 
> --__--__--
> 
> Message: 21
> From: Dieter Maurer <dieter@handshake.de>
> Date: Thu, 28 Jun 2001 22:59:38 +0200 (CEST)
> To: Etienne Labuschagne <ELabuschagne@gims.com>
> Cc: "Zope User List (E-mail)" <zope@zope.org>
> Subject: Re: [Zope] Python Path?
> 
> Etienne Labuschagne writes:
>  > After installing more than one Zope on my machine I noticed the following:
>  > The one installation's Python path also appears in the other installation's.
> You are working under Windows?
> 
> Under Unix, different Python interpreters do not share the same
> common PYTHONHOME. There, PYTHONHOME is derived automatically
> from the path where the Python interpreter is installed,
> unless PYTHONHOME is explicitly defined.
> 
> Dieter
> 
> --__--__--
> 
> Message: 22
> From: a.pahne@t-online.de (Andy Pahne)
> To: "Zope Mailinglist" <zope@zope.org>
> Subject: Re: [Zope] help!!! manage_workspace is broken!
> Date: Thu, 28 Jun 2001 23:09:22 +0200
> 
> I found out what it is: after installing Service Pack 2 on Windows 2000 my
> IE 5.0 was broken. With Netscape erverything worked fine. I installed IE 5.5
> and now it works again!
> 
> Thanks, all
> Andy Pahne
> ap@big1.de
> 
> --__--__--
> 
> Message: 23
> Reply-To: <ap@big1.de>
> From: "Andy Pahne" <ap@big1.de>
> To: "Zope Mailinglist" <zope@zope.org>
> Subject: Re: [Zope] help!!! manage_workspace is broken!
> Date: Thu, 28 Jun 2001 23:08:42 +0200
> 
> I found out what it is: after installing Service Pack 2 on Windows 2000 my
> IE 5.0 was broken. With Netscape erverything worked fine. I installed IE 5.5
> and now it works again!
> 
> Thanks, all
> Andy Pahne
> ap@big1.de
> 
> --__--__--
> 
> Message: 24
> Date: Thu, 28 Jun 2001 16:23:02 -0500
> From: Mike Renfro <renfro@tntech.edu>
> To: zope@zope.org
> Subject: [Zope] Please test latest CVS of the Zope AddressBook
> 
> http://zope-contacts.sourceforge.net/
> 
> It works for me, and is almost entirely feature-complete, I think. The
> nightly CVS tarball should be updated in several hours, but if you
> already have CVS, check out the files and see how they work for you.
> 
> I make no guarantee that any AddressBooks from previous versions will
> seamlessly upgrade to the latest CVS, but hopefully they will. Should
> this code cause your Zope server to catch fire, remember that this
> message says "test it out on a non-critical server". Report any bugs
> or requests in our trackers on Sourceforge, please.
> 
> --
> Mike Renfro  / R&D Engineer, Center for Manufacturing Research,
> 931 372-3601 / Tennessee Technological University -- renfro@tntech.edu
> 
> --__--__--
> 
> Message: 25
> From: "Clint Byrum" <cbyrum@erp.com>
> To: <zope@zope.org>
> Date: Thu, 28 Jun 2001 15:11:50 -0700
> Subject: [Zope] Is anybody really working on digest auth?
> 
> I'm just wondering if anybody's working on a digest authentication yet.
> Currently I only admin zope from the localhost... but I'd like to be able to
> do it remotely. I can do it with SSL, but this seems like overkill. So I
> ask, is digest authentication coming soon at all? Thanks.
> 
> Clint Byrum
> ERP.COM/PlanetEBI
> 
> --__--__--
> 
> Message: 26
> Date: Thu, 28 Jun 2001 15:17:20 -0700 (PDT)
> From: "Jason C. Leach" <jleach@mail.ocis.net>
> To: zope@zope.org
> Subject: [Zope] Request for ideas (indexing documents).
> 
> hi,
> 
> I have a lot of documents I would must index.  They may or may not be
> stored in Zope (perhaps a local FS).  I need to:
> 
> display  type (.doc or .pdf)
> display  name
> provide  description (short/detailed)
> display  size
> display  date created/modifie.
> provide  searching capability. on name, description.
> 
> Right now Zope does most of that. I just add them as files and do a bit of
> DTML to display a table listing of the files.  The description is not yet
> there; or the searching.
> 
> Thanks,
> j.
> 
> ......................
> ..... Jason C. Leach
> ..
> 
> --__--__--
> 
> Message: 27
> Date: Thu, 28 Jun 2001 17:17:47 -0600
> From: Casey Duncan <cduncan@kaivo.com>
> Organization: Kaivo, Inc. (www.kaivo.com)
> To: "Jason C. Leach" <jleach@mail.ocis.net>
> CC: zope@zope.org
> Subject: Re: [Zope] Request for ideas (indexing documents).
> 
> "Jason C. Leach" wrote:
> >
> > hi,
> >
> > I have a lot of documents I would must index.  They may or may not be
> > stored in Zope (perhaps a local FS).  I need to:
> >
> > display  type (.doc or .pdf)
> > display  name
> > provide  description (short/detailed)
> > display  size
> > display  date created/modifie.
> > provide  searching capability. on name, description.
> >
> > Right now Zope does most of that. I just add them as files and do a bit of
> > DTML to display a table listing of the files.  The description is not yet
> > there; or the searching.
> >
> > Thanks,
> > j.
> >
> > ......................
> > ..... Jason C. Leach
> > ..
> 
> Check out:
> 
> http://www.zope.org/Members/Kaivo/DocumentLibrary
> 
> --
> | Casey Duncan
> | Kaivo, Inc.
> | cduncan@kaivo.com
> `------------------>
> 
> --__--__--
> 
> Message: 28
> Date: Thu, 28 Jun 2001 17:28:23 -0600 (MDT)
> From: <kosh@aesaeion.com>
> To: Dieter Maurer <dieter@handshake.de>
> Cc: <zope@zope.org>
> Subject: Re: [Zope] acquisition problem
> 
> DTML documents look at where the document is physically located while
> methods look around where they currently appear to be located. I need my
> document to look in itself and then look around like a method does.
> Methods act locally at any folder they inherit to and I need my doc to act
> the same way.
> 
> Designing the webpages of tomorrow http://webme-eng.com
> Designing the MMORPGS of tomorrow http://worldforge.org
> 
> On Thu, 28 Jun 2001, Dieter Maurer wrote:
> 
> > kosh@aesaeion.com writes:
> >  > I am trying to make an object behave like a dtml-method but with one
> >  > exception. I want it to look in itself first to find the data then look
> >  > around it like a dtml-method does.
> > That is exactly how a DTML document works.
> >
> >
> > Dieter
> >
> 
> --__--__--
> 
> Message: 29
> From: =?iso-8859-1?q?J=F8rgen=20Hermanrud=20Fjeld?= <jhf@hex.no>
> Organization: Fjeld Kurs og Konsulenttjenester
> To: "Phat Phish" <phatphishy@hotmail.com>,
>  zope@zope.org
> Subject: Re: [Zope] object id and URL
> Date: Fri, 29 Jun 2001 01:43:48 +0200
> 
> Hi.
> 
> I think you could have som Javascipt method that sets the value on the st=
> atus=20
> bar, then make som code to call that method when the mouse is over the li=
> nk.=20
> something like onMouseOver=3DshowStatusBar('<dtml-var dept>') in the <A> =
> tag.
> You probably need to look at www.w3c.org and search the net for useful=20
> javascripts.
> 
> Sincerely
> J=F8rgen
> 
> torsdag 28. juni 2001 20:52, skrev Phat Phish:
> > <html><DIV>
> > <DIV>hi,</DIV>
> > <DIV>&nbsp;</DIV>
> > <DIV>can someone help me out with this:</DIV>
> > <DIV>&nbsp;</DIV>
> > <DIV>i have just made an online course catalog by making all the course=
> s as
> > different objects in a ZClass.&nbsp; i added a link to each object by u=
> sing
> > &lt;dtml-var id&gt;.&nbsp; but then that means that when the cursor is =
> on
> > the link, only the id of the object is being shown&nbsp;on the browser'=
> s
> > status bar.&nbsp; i was wondering what code i need to write so that the
> > course department &lt;dtml-var dept&gt; will be shown on the status bar
> > (but not the id).&nbsp; </DIV> <DIV>&nbsp;</DIV>
> > <DIV>thanks a lot!</DIV>
> > <DIV>&nbsp;</DIV>
> > <DIV>phat-phish</DIV></DIV><br clear=3Dall><hr>Get your FREE download o=
> f MSN
> > Explorer at <a
> > href=3D"http://explorer.msn.com">http://explorer.msn.com</a><br></p></h=
> tml>
> >
> > _______________________________________________
> > Zope maillist  -  Zope@zope.org
> > 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 )
> 
> --=20
> 
> MVH
> J=F8rgen H. Fjeld
> 
> --__--__--
> 
> Message: 30
> From: "Montagne, Michael" <montagne@BOORA.com>
> To: "'zope@zope.org'" <zope@zope.org>
> Date: Thu, 28 Jun 2001 17:04:46 -0700
> Subject: [Zope] MSAccess
> 
> If I'm going to be able to use Linux and Zope as my intranet site and crack
> the Microsoft stronghold, I need to access my MsAccess databases from Zope
> in Linux.  Is this possible?  I'm struggling with mxODBC in conjunction with
> iODBC.  not having much luck.  Are there any zopish alternatives.
> 
> -mjm
> 
> --__--__--
> 
> Message: 31
> From: tomc@evetcia.com
> To: zope@zope.org
> Date: Fri, 29 Jun 2001 10:15:31 +1000
> Subject: [Zope] users managing their own user details
> 
> This message is in MIME format. Since your mail reader does not understand
> this format, some or all of this message may not be legible.
> 
> ------_=_NextPart_001_01C10030.9BD9B190
> Content-Type: text/plain;
>         charset="iso-8859-1"
> 
> How do I allow my users to _only_ edit their own user details?
> 
> I have about 20 users who will have varying degrees of access to the Zope
> management area. All in the one users folder.
> 
> I want to encourage them to change their password regularly. But I don't
> want them to be able to edit other user's details or even create acl_users
> folders, just edit their own details.
> 
> I cant seem to work out how to do this.
> 
> Tom
> 
> ------_=_NextPart_001_01C10030.9BD9B190
> Content-Type: text/html;
>         charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
> <HTML>
> <HEAD>
> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
> charset=3Diso-8859-1">
> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
> 5.5.2653.12">
> <TITLE>users managing their own user details</TITLE>
> </HEAD>
> <BODY>
> 
> <P><FONT SIZE=3D2>How do I allow my users to _only_ edit their own user =
> details? </FONT>
> </P>
> 
> <P><FONT SIZE=3D2>I have about 20 users who will have varying degrees =
> of access to the Zope management area. All in the one users =
> folder.</FONT>
> </P>
> 
> <P><FONT SIZE=3D2>I want to encourage them to change their password =
> regularly. But I don't want them to be able to edit other user's =
> details or even create acl_users folders, just edit their own =
> details.</FONT></P>
> 
> <P><FONT SIZE=3D2>I cant seem to work out how to do this.</FONT>
> </P>
> 
> <P><FONT SIZE=3D2>Tom</FONT>
> </P>
> 
> </BODY>
> </HTML>
> ------_=_NextPart_001_01C10030.9BD9B190--
> 
> --__--__--
> 
> Message: 32
> Date: Thu, 28 Jun 2001 20:47:19 -0400 (EDT)
> From: Andy Dustman <andy@dustman.net>
> To: Tamas Amon <sajt@amon.hu>
> cc: "Org Zope@Zope." <zope@zope.org>
> Subject: Re: [Zope] file upload to mysql
> 
> On Wed, 27 Jun 2001, Tamas Amon wrote:
> 
> > from Products.ZMySQLDA import MySQL
> 
> It sounds like you are using an old ZMySQLDA. Try the latest one at
> http://sourceforge.net/projects/mysql-python  However, the product you are
> using for file uploads seems to be specifically using the MySQL module,
> instead of MySQLdb or _mysql which is what the 2.x ZMySQLDA uses. To get
> your existing ZMySQLDA to work, you need MySQLmodule-1.4, which should be
> included with ZMySQLDA-1.1.x, but needs to be compiled. Check the
> instructions carefully. If you want to try using ZMySQLDA-2.0.7, you will
> have to do something like this:
> 
> from _mysql import string_literal
> 
> string_literal is probably the quoting function you want (it also adds the
> quotes); if not, try escape.
> 
> --
> Andy Dustman         PGP: 0xC72F3F1D
>     @       .net     http://dustman.net/andy
> I'll give spammers one bite of the apple, but they'll
> have to guess which bite has the razor blade in it.
> 
> --__--__--
> 
> Message: 33
> From: "Bill Bell" <bill-bell@bill-bell.hamilton.on.ca>
> To: Dieter Maurer <dieter@handshake.de>
> Date: Thu, 28 Jun 2001 16:14:36 -0400
> Subject: Re: [Zope] Want to Build Bulletin Board for Local Events
> Reply-To: bill-bell@bill-bell.hamilton.on.ca
> Cc: zope@zope.org
> 
> Dieter, thank you. I'll definitely have a look. - Bill
> 
> On 27 Jun 2001, at 21:25, Dieter Maurer wrote:
> 
> > Bill Bell writes:
> >  > I live in a rural community. As a public service I'd like to build
> >  a site > that is capable of accepting short notices about upcoming
> >  events > such as theatre performances, tavern gigs, church suppers,
> >  etc > and then of displaying them using either a calendar page
> >  interface > or scrolling list.
> > Look at the "calender tag" and the "Event Folder" (--> zope.org).
> >
> >
> > Dieter
> 
> --__--__--
> 
> Message: 34
> From: "Tim Hicks" <tim@sitefusion.co.uk>
> To: "Andy McKay" <andym@ActiveState.com>,
>         <zope@zope.org>,
>         "David Burton" <eloquence@eloquent-designs.f2s.com>
> Cc: <laird@ecn.purdue.edu>
> Subject: xml-rpc.binary and 'seek' (was Re: [Zope] xml-rpc authentication)
> Date: Fri, 29 Jun 2001 02:41:17 +0100
> 
> ----- Original Message -----
> From: "Andy McKay" <andym@ActiveState.com>
> To: "Tim Hicks" <tim@sitefusion.co.uk>; <zope@zope.org>
> Sent: Thursday, June 28, 2001 5:48 PM
> Subject: Re: [Zope] xml-rpc authentication
> 
> > > Where should I put this code?  Do I need to make any more alterations
> > (other
> > > than subclassing 'transport' as opposed to 'xmlrpclib.transport')?
> >
> > Nope. ZSyncer, uses a script based on Amos's original code very
> successfully
> > btw. I use it a great deal. If you look at that python it might help
> > basically just put xmlrpclibBasicAuth.py (from ZSyncer) in Zope/bin/lib.
> >
> > And instead of calling xmlrpclib, call xmlrpclibBasicAuth:
> >
> > from xmlrpclibBasicAuth import Server
> > s = Server('http://foo.bar.com', 'user', pwd')
> > s.hello()
> 
> Andy,
> 
> thats great.  It works a treat :-))).  I've now found another little
> problem.  I can call any method on the remote Zope server that simply
> requires plain text arguments, but when I try to send binary over, I get,
> 
> Error Type: AttributeError
> Error Value: seek
> 
> This is whether I use xmlrpclib.binary(mybinarydata) or simply pass
> mybinarydata.  I searched the zope list, and found that 'Kyler B. Laird'
> posted a message with this very problem (hence Kyler being cc'd - hope you
> don't mind Kyler), but there was no reply to it, so I couldn't find out
> how/if there was a resolution.  Do you have any idea what I'm doing wrong?
> 
> thanks
> 
> tim
> 
> ps Just like to say thanks David for your suggested solution.  I went with
> Andy's simply because his mail arrived first.  I appreciate your time.  Your
> 'method' was actually very instructive for me in the ways of python :-).
> 
> --__--__--
> 
> Message: 35
> Date: Thu, 28 Jun 2001 19:18:45 -0700 (PDT)
> From: Vid B <zoops4@yahoo.com>
> To: Zope@zope.org
> Subject: [Zope] BLOB from PotgreSQL on web page
> 
> I am using Zope 2.3 and PSQL 7.1  After installing the
> adapters Popy and ZPopyDA it has been working very
> well.  But I have one concern and one problem.
> 
> Problem
> 
> I am storing BLOBs in PSQL using lo_import, and
> exporting them to the file system using lo_export. But
> I cannot figure out how to
> display them directly from the database to the web
> page.
> 
> Concern
> 
> What is more efficient? To store files as BLOBs in
> PSQL or to store the files to Zope and store link to
> the file in PSQL.  Files will be
> of different format: jpg, gif, pdf, wpd, doc, ...
> 
> Vid
> 
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
> 
> --__--__--
> 
> Message: 36
> Date: Thu, 28 Jun 2001 20:29:20 -0700 (PDT)
> From: Jason Byron <jason_zope@yahoo.com>
> To: zope@zope.org
> Subject: [Zope] zope interface suggestion
> 
> Why don't we add three single letter links to each line of the
> objects listed in zope's web interface?
> 
> Say 'R', for Rename 'C/P' for Copy and Paste , and 'D' for
> Delete.
> 
> We could add it between the Name and the Size.
> 
> It could simply look like: R C/P D
> 
> That sure would make things quicker.
> 
> Anyone want a new project? :)
> 
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
> 
> --__--__--
> 
> Message: 37
> From: "Ravindra" <ravindra@ravindraonline.com>
> To: <zope@zope.org>
> Date: Thu, 28 Jun 2001 22:28:10 -0700
> Subject: [Zope] NotSupportedError during ZMySQLDA Installation
> 
> Hi All,
> 
> I am getting the following error while trying to install the ZMySQLDA on
> Zope.
> 
> Traceback (innermost last):
>   File "/opt/Zope-2.3.0-linux2-x86/lib/python/OFS/Application.py", line 530,
> in import_products
>     product=__import__(pname, global_dict, global_dict, silly)
>   File
> "/opt/Zope-2.3.0-linux2-x86/lib/python/Products/ZMySQLDA/__init__.py", line
> 91, in ?
>     import DA
>   File "/opt/Zope-2.3.0-linux2-x86/lib/python/Products/ZMySQLDA/DA.py", line
> 91, in ?
>     from db import DB
>   File "/opt/Zope-2.3.0-linux2-x86/lib/python/Products/ZMySQLDA/db.py", line
> 94, in ?
>     raise NotSupportedError, \
> NameError: NotSupportedError
> 
> ----------------------------------------------------
> 
> This is my Env:
> RedHat Linux 2.2.16
> MySql 3.22.32
> Zope 2.3.0 Binary
> MySQL-python-0.3.2
> ZMySQLDA-2.0.7
> 
> The SQLDA product shows as "Broken Product" in manage console.
> 
> Can anyone tell me what is the fix for this ?
> 
> Thanks In Advance
> Ravindra
> 
> --__--__--
> 
> Message: 38
> From: "Peter Bengtsson" <mail@peterbe.com>
> To: "Jason Byron" <jason_zope@yahoo.com>
> Cc: <zope@zope.org>
> Subject: Re: [Zope] zope interface suggestion
> Date: Fri, 29 Jun 2001 09:08:09 +0200
> 
> I disagree.
> Then there would be two ways to move around objects. With the links and with
> buttons.
> This would be bad usability with all the confusion and the ZMI would be more
> cluttered.
> 
> I suggest that you think of a skin to do this.
> If you are the only one using the Zope, you can apply this hotfix:
> 
> - create a folder in the Products directory called: "ZMIHotfix1"
> - in that folder copy lib/python/OFS/dtml/main.dtml and do the changes to
> that file.
> - now create a file called __init__.py and do the following:
> 
> # HotFix 1
> # change the main.dtml ZMI template
> 
> from OFS.ObjectManager import ObjectManager
> from Globals import DTMLFile
> ObjectManager.manage_main = DTMLFile('main', globals())
> 
> Restart Zope and if you've made changes to main.dtml, they should show up
> automatically.
> 
> To debug this, run Zope with -D and you can change the ZMIHotFix1/main.dtml
> and the interfaces changes with a simple refresh.
> 
> This can probably be extended using cookies or something so that if you
> share the Zope with a newbie, you can get different interface. But then my
> tip might not be completely the right.
> 
> I think I'll now put this into HowTo or a Tip on zope.org if it's working.
> 
> Peter
> 
> > Why don't we add three single letter links to each line of the
> > objects listed in zope's web interface?
> >
> > Say 'R', for Rename 'C/P' for Copy and Paste , and 'D' for
> > Delete.
> >
> > We could add it between the Name and the Size.
> >
> > It could simply look like: R C/P D
> >
> > That sure would make things quicker.
> >
> > Anyone want a new project? :)
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Get personalized email addresses from Yahoo! Mail
> > http://personal.mail.yahoo.com/
> >
> > _______________________________________________
> > Zope maillist  -  Zope@zope.org
> > 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 )
> 
> --__--__--
> 
> Message: 39
> From: =?iso-8859-1?Q?Tapio_H=FCffner?= <tapio@gmx.net>
> To: <zope@zope.org>
> Date: Fri, 29 Jun 2001 09:57:32 +0200
> Subject: [Zope] Mailform & Sendmail
> 
> Hi guys,
> 
> I want to create a sendmail-Method which works with several forms. For that
> I want to list the variables and their values independent from each form.
> <dtml-var "REQUEST.form"> works, but the output is: {'comments': 'my
> comment', 'name': 'my name'}. What I would like to see is:
> 
> comments: my comment
> name: my name'
> 
> but I don't want to create for each form a sendmail-Method which includes:
> 
> comment: <dtml-var comments>
> Name: <dtml-var name>
> 
> My idea was something like
> 
> <dtml-in "REQUEST.form">
> <dtml-var name>: <dtml-var value>
> </dtml-in>
> 
> but REQUEST.form isn't a sequence!?
> 
> I guess this is an easy question. Thank you in advance,
> 
> Tapio
> 
> --__--__--
> 
> Message: 40
> Subject: Re: [Zope] BLOB from PotgreSQL on web page
> From: Federico Di Gregorio <fog@mixadlive.com>
> To: Vid B <zoops4@yahoo.com>
> Cc: zope@zope.org
> Date: 29 Jun 2001 10:02:03 +0200
> 
> > I am using Zope 2.3 and PSQL 7.1  After installing the
> > adapters Popy and ZPopyDA it has been working very
> > well.  But I have one concern and one problem.
> >
> > Problem
> >
> > I am storing BLOBs in PSQL using lo_import, and
> > exporting them to the file system using lo_export. But
> > I cannot figure out how to
> > display them directly from the database to the web
> > page.
> >
> > Concern
> >
> > What is more efficient? To store files as BLOBs in
> > PSQL or to store the files to Zope and store link to
> > the file in PSQL.  Files will be
> > of different format: jpg, gif, pdf, wpd, doc, ...
> 
> postgresql 7.1 does not have any limit on row size. just call a python
> method that squeezes the data into a text column and retrieve it.
> 
> hope this helps,
> federico
> 
> --
> Federico Di Gregorio
> MIXAD LIVE Chief of Research & Technology              fog@mixadlive.com
> Debian GNU/Linux Developer & Italian Press Contact        fog@debian.org
>                       The number of the beast: vi vi vi. -- Delexa Jones
> 
> --__--__--
> 
> Message: 41
> From: ricardo@cnbe.mar.org.uk (Ricardo Seghizzi)
> To: <Zope@zope.org>
> Subject: Re: [Zope] Re: Oracle Error Messages
> Date: Fri, 29 Jun 2001 09:21:31 +0100
> 
> > > When my application runs and access the Database if an error occurs the
> > > oracle error will be displayed on the page.
> > > I wold like to know how could I catch the error and handle the error
> message
> > > to give something more
> > > understandable for my end users?
> > > I try to use <dtml-try> and <dtml-exepcion> but I didn't manage to make
> it
> > > work.
> >
> > Houw did you use <dtml-try>/<dtml-except> ?
> 
> first I tryied  to wrap arround  a SQL statment in ZSQL method:
> 
>                           <dtml-try>
>                              select bla bla bla.....
>                           <dtml-except>
>                               <p> Not found</p>
>                           </dtml-try>
> 
> then I tried to wrap arround the ZQL method
>                            <dtml-try>
>                                  <dtml-var myZsqlMethod>
>                            dtml-except>
>                               <P> not found</p>
>                           </dtml-try>
> 
> > What error do you get from Oracle ?
>        The problem is not the error itself because it is working. What I
> want to do is to handle the errors.
> 
> > > Do you kown how this cold be done?
> >
> > I'm not sure about DCOracle, but I have hade similar uncatchable
> > behaviour when
> > some underlying libraries don't catch the error but print it to stdout
> > instead.
> >
> > I even had PoPy just drop dead and produced _no_ output whatsoever - my
> > bug-report on it lingers on sourceforge for months ;(
> >
> 
> ----- Original Message -----
> From: "Hannu Krosing" <hannu@tm.ee>
> To: "Ricardo Seghizzi" <ricardo@cnbe.mar.org.uk>
> Cc: "Chris McDonough" <chrism@digicool.com>; <zope@zope.org>
> Sent: Thursday, June 28, 2001 7:40 PM
> Subject: Re: [Zope] Re: Oracle Error Messages
> 
> > > I created a website that connect to an Oracle 8.0 DB.
> > >
> > > My web application is working fine. I created a web application that
> access
> > > a external DB in only 2 weeks!
> > > And during this period I as learning Zope and DTML as well. Not to
> bad...
> > >
> > > Zope is wonderfull...
> > >
> > > When my application runs and access the Database if an error occurs the
> > > oracle error will be displayed on the page.
> > > I wold like to know how could I catch the error and handle the error
> message
> > > to give something more
> > > understandable for my end users?
> > > I try to use <dtml-try> and <dtml-exepcion> but I didn't manage to make
> it
> > > work.
> >
> > Houw did you use <dtml-try>/<dtml-except> ?
> >
> > What error do you get from Oracle ?
> >
> >
> > > Do you kown how this cold be done?
> >
> > I'm not sure about DCOracle, but I have hade similar uncatchable
> > behaviour when
> > some underlying libraries don't catch the error but print it to stdout
> > instead.
> >
> > I even had PoPy just drop dead and produced _no_ output whatsoever - my
> > bug-report on it lingers on sourceforge for months ;(
> >
> > -------------
> > Hannu
> >
> > _______________________________________________
> > Zope maillist  -  Zope@zope.org
> > 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 )
> 
> --__--__--
> 
> Message: 42
> To: Zope Mailing List <zope@zope.org>
> Organization: RiskMap S.r.l.
> Reply-To: enrico.sirola@riskmap.net
> From: Enrico Sirola <sirolae@riskmap.net>
> Date: 29 Jun 2001 10:11:48 +0200
> Subject: [Zope] [Q] Using external CORBA objects
> 
> Hi Zopers,
> 
> I just completed the tutorial of Zope, and I enjoyed this product
> a lot (In one day, without knowing anything about html, i produced a
> site with few pages/forms etc... I'm so proud of me! ;-) ).
> 
> The web "application" I have to create should be a user interface for a
> set of objects/object factories developed using CORBA...
> The first thing i have done is making an external python method which
> binds the needed CORBA object and invokes an object's method. This
> works, but doesn't satisfies me, becouse (1) every time I invoke the
> external method I have to find again the object reference through the
> CORBA Naming Service, ask it about obj reference etc etc... and (2) i
> need to write an external method for each CORBA object method...
> In these experiments I used omniORBpy (btw it's really cool) on linux.
> 
> Did any1 have the same problem? How did you treat it?
> Please let me know your opinions/advices,
> Thanks in advance,
> Enrico
> 
> --
> Enrico Sirola <enri@users.sourceforge.net>
> gpg public key available from wwwkeys.pgp.net
> Key fingerprint = B446 7332 ED55 BC68 5FE8  DE0F 98DF EC86 377F E07F
> 
> --__--__--
> 
> Message: 43
> From: "Peter Bengtsson" <mail@peterbe.com>
> To: "Peter Bengtsson" <mail@peterbe.com>,
>         "Jason Byron" <jason_zope@yahoo.com>
> Cc: <zope@zope.org>
> Subject: Re: [Zope] zope interface suggestion
> Date: Fri, 29 Jun 2001 09:51:17 +0200
> 
> It became a HowTo
> http://www.zope.org/Members/peterbe/skintheZMI
> 
> ----- Original Message -----
> From: "Peter Bengtsson" <mail@peterbe.com>
> To: "Jason Byron" <jason_zope@yahoo.com>
> Cc: <zope@zope.org>
> Sent: Friday, June 29, 2001 9:08 AM
> Subject: Re: [Zope] zope interface suggestion
> 
> > I disagree.
> > Then there would be two ways to move around objects. With the links and
> with
> > buttons.
> > This would be bad usability with all the confusion and the ZMI would be
> more
> > cluttered.
> >
> > I suggest that you think of a skin to do this.
> > If you are the only one using the Zope, you can apply this hotfix:
> >
> > - create a folder in the Products directory called: "ZMIHotfix1"
> > - in that folder copy lib/python/OFS/dtml/main.dtml and do the changes to
> > that file.
> > - now create a file called __init__.py and do the following:
> >
> > # HotFix 1
> > # change the main.dtml ZMI template
> >
> > from OFS.ObjectManager import ObjectManager
> > from Globals import DTMLFile
> > ObjectManager.manage_main = DTMLFile('main', globals())
> >
> > Restart Zope and if you've made changes to main.dtml, they should show up
> > automatically.
> >
> > To debug this, run Zope with -D and you can change the
> ZMIHotFix1/main.dtml
> > and the interfaces changes with a simple refresh.
> >
> > This can probably be extended using cookies or something so that if you
> > share the Zope with a newbie, you can get different interface. But then my
> > tip might not be completely the right.
> >
> >
> > I think I'll now put this into HowTo or a Tip on zope.org if it's working.
> >
> >
> > Peter
> >
> > > Why don't we add three single letter links to each line of the
> > > objects listed in zope's web interface?
> > >
> > > Say 'R', for Rename 'C/P' for Copy and Paste , and 'D' for
> > > Delete.
> > >
> > > We could add it between the Name and the Size.
> > >
> > > It could simply look like: R C/P D
> > >
> > > That sure would make things quicker.
> > >
> > > Anyone want a new project? :)
> > >
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Get personalized email addresses from Yahoo! Mail
> > > http://personal.mail.yahoo.com/
> > >
> > > _______________________________________________
> > > Zope maillist  -  Zope@zope.org
> > > 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  -  Zope@zope.org
> > 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 )
> 
> --__--__--
> 
> Message: 44
> Date: Fri, 29 Jun 2001 09:57:25 +0100
> From: Chris Withers <chrisw@nipltd.com>
> Organization: New Information Paradigms
> To: tomc@evetcia.com
> CC: zope@zope.org
> Subject: Re: [Zope] users managing their own user details
> 
> > tomc@evetcia.com wrote:
> >
> > I cant seem to work out how to do this.
> 
> Use the CMF or the independent Membership product
> 
> cheers,
> 
> Chris
> 
> --__--__--
> 
> Message: 45
> From: "Daniel Fairs" <daniel.fairs@spiderplant.net>
> To: "Zope" <zope@zope.org>
> Date: Fri, 29 Jun 2001 10:13:42 +0100
> Subject: [Zope] Newsyslog
> 
> Hi,
> 
> I'm using newsyslog to turn over the Zope logfile. However, I have to
> restart Zope each time the log gets turned over. Is there any way of getting
> around this? Or should I just buy a bigger drive? ;)
> 
> Cheers,
> Dan
> 
> _________________________________________________________________
> Daniel Fairs | daniel.fairs@spiderplant.net | www.spiderplant.net
> 
> --__--__--
> 
> Message: 46
> From: =?iso-8859-1?Q?Dario_Lopez-K=E4sten?= <dario@ita.chalmers.se>
> To: <zope@zope.org>
> Date: Fri, 29 Jun 2001 11:22:06 +0200
> Organization: CITES
> Subject: [Zope] Help with iterating thru a list of objects
> 
> Hello!
> 
> I need to display the results of an sql query and I need to compare the
> value of field A in the current item with the value of field A in the
> previous item, in order to display things correctly.
> 
> Doing this in a Python script seems overkill, since I only need to contro=
> l
> the display of things.
> 
> I have crancked upp a lot of info in the result of the query for
> optimization reasons so changing the query is out of the question.
> 
> Any help is appreciated.
> 
> Thank you,
> 
> /dario
> 
> - --------------------------------------------------------------------
> Dario Lopez-K=E4sten     Systems Developer  Chalmers Univ. of Technology
> dario@ita.chalmers.se  ICQ will yield no hits    IT Systems & Services
> 
> --__--__--
> 
> Message: 47
> From: Arno Gross <zope@consotec.de>
> To: "Zope" <zope@grewen.de>, <zope@zope.org>
> Subject: Re: [Zope] userfolder for interbase
> Date: Fri, 29 Jun 2001 09:57:20 -0100
> 
> You should have a look at LoginManager.
> http://www.zope.org/Members/jok/SQL_based_LoginManager
> It doesn't describe the integration with Interbase, but you should be able to
> adjust it for your needs.
> Best regards
>   Arno
> 
> > On Wed, 27 Jun 2001, Zope wrote:
> >
> > Hi,
> >
> > Is there anyone how autenticates users from a interbase table?
> > I search for a userfolder product that authenticates in that way.
> >
> > May someone solved this problem?
> >
> > Please let me know
> >
> >
> > Using
> > Win2000
> > Zope 2.3.2
> > gvibDA0-9-6
> > Interbase 6.0
> >
> > Cheers Jens
> >
> 
> ----------------------------------------
> Content-Type: text/html; name="unnamed"
> Content-Transfer-Encoding: quoted-printable
> Content-Description:
> ----------------------------------------
> 
> --__--__--
> 
> Message: 48
> From: Etienne Labuschagne <ELabuschagne@gims.com>
> To: 'Dieter Maurer' <dieter@handshake.de>, Etienne Labuschagne
>          <ELabuschagne@gims.com>
> Cc: "Zope User List (E-mail)" <zope@zope.org>
> Subject: RE: [Zope] Python Path?
> Date: Fri, 29 Jun 2001 11:48:39 +0200
> 
> This message is in MIME format. Since your mail reader does not understand
> this format, some or all of this message may not be legible.
> 
> ------_=_NextPart_001_01C10080.ACA9FD40
> Content-Type: text/plain;
>         charset="iso-8859-1"
> 
> Hi there
> 
> Yes, unfortunately I have to use Windows.
> 
> Etienne
> 
> -----Original Message-----
> From: Dieter Maurer [mailto:dieter@handshake.de]
> Sent: Thursday, June 28, 2001 11:00 PM
> To: Etienne Labuschagne
> Cc: Zope User List (E-mail)
> Subject: Re: [Zope] Python Path?
> 
> Etienne Labuschagne writes:
>  > After installing more than one Zope on my machine I noticed the
> following:
>  > The one installation's Python path also appears in the other
> installation's.
> You are working under Windows?
> 
> Under Unix, different Python interpreters do not share the same
> common PYTHONHOME. There, PYTHONHOME is derived automatically
> from the path where the Python interpreter is installed,
> unless PYTHONHOME is explicitly defined.
> 
> Dieter
> 
> ------_=_NextPart_001_01C10080.ACA9FD40
> Content-Type: text/html;
>         charset="iso-8859-1"
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
> <HTML>
> <HEAD>
> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
> <META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
> <TITLE>RE: [Zope] Python Path?</TITLE>
> </HEAD>
> <BODY>
> 
> <P><FONT SIZE=2>Hi there</FONT>
> </P>
> 
> <P><FONT SIZE=2>Yes, unfortunately I have to use Windows.</FONT>
> </P>
> 
> <P><FONT SIZE=2>Etienne</FONT>
> </P>
> 
> <P><FONT SIZE=2>-----Original Message-----</FONT>
> <BR><FONT SIZE=2>From: Dieter Maurer [<A HREF="mailto:dieter@handshake.de">mailto:dieter@handshake.de</A>]</FONT>
> <BR><FONT SIZE=2>Sent: Thursday, June 28, 2001 11:00 PM</FONT>
> <BR><FONT SIZE=2>To: Etienne Labuschagne</FONT>
> <BR><FONT SIZE=2>Cc: Zope User List (E-mail)</FONT>
> <BR><FONT SIZE=2>Subject: Re: [Zope] Python Path?</FONT>
> </P>
> <BR>
> 
> <P><FONT SIZE=2>Etienne Labuschagne writes:</FONT>
> <BR><FONT SIZE=2>&nbsp;&gt; After installing more than one Zope on my machine I noticed the following:</FONT>
> <BR><FONT SIZE=2>&nbsp;&gt; The one installation's Python path also appears in the other installation's.</FONT>
> <BR><FONT SIZE=2>You are working under Windows?</FONT>
> </P>
> 
> <P><FONT SIZE=2>Under Unix, different Python interpreters do not share the same</FONT>
> <BR><FONT SIZE=2>common PYTHONHOME. There, PYTHONHOME is derived automatically</FONT>
> <BR><FONT SIZE=2>from the path where the Python interpreter is installed,</FONT>
> <BR><FONT SIZE=2>unless PYTHONHOME is explicitly defined.</FONT>
> </P>
> <BR>
> 
> <P><FONT SIZE=2>Dieter</FONT>
> </P>
> 
> </BODY>
> </HTML>
> ------_=_NextPart_001_01C10080.ACA9FD40--
> 
> --__--__--
> 
> Message: 49
> From: =?iso-8859-1?Q?Max_M=F8ller_Rasmussen?= <maxm@normik.dk>
> To: "'zope@zope.org'" <zope@zope.org>
> Date: Fri, 29 Jun 2001 12:00:28 +0200
> Subject: [Zope] Suddenly I cannot add new objects
> 
> I have a zClass 'maal' with the following properties:
> 
> title       string
> language    "dk uk"  selection
> format      string
> description text
> 
> The system has been running for a while now, and it has worked nicely.
> Probably I have made some changes that has subtely destroyed something, or
> it is some kind of problem with Catalog.
> 
> I can still read all the 'maal' objects that I have added earlier, but I
> cannot add new ones.
> 
> When I try to add it to another objecManager zClass I have made I get the
> following traceback:
> 
> -----------------------------------------------------------
> Live system:
> Zope Version  Zope 2.3.1 (binary release, python 1.5.2, linux2-x86)
> Python Version  1.5.2 (#10, Dec 6 1999, 12:16:27) [GCC 2.7.2.3]
> System Platform  linux2
> 
> and
> 
> Development:
> Zope Version  Zope 2.3.2 (binary release, python 1.5.2, win32-x86)
> Python Version  1.5.2 (#0, Jul 30 1999, 09:52:18) [MSC 32 bit (Intel)]
> System Platform  win32
> 
> -----------------------------------------------------------
> 
> Error Type: KeyError
> Error Value: description
> 
> ---
> 
> Traceback (innermost last):
> 
>   File
> /usr/local/zope/Zope-2.3.1-linux2-x86/lib/python/ZPublisher/Publish.py, line
> 223, in publish_module
> 
>   File
> /usr/local/zope/Zope-2.3.1-linux2-x86/lib/python/ZPublisher/Publish.py, line
> 187, in publish
> 
>   File /usr/local/zope/Zope-2.3.1-linux2-x86/lib/python/Zope/__init__.py,
> line 221, in zpublisher_exception_hook
> 
>     (Object: RoleManager)
> 
>   File
> /usr/local/zope/Zope-2.3.1-linux2-x86/lib/python/ZPublisher/Publish.py, line
> 171, in publish
> 
>   File
> /usr/local/zope/Zope-2.3.1-linux2-x86/lib/python/ZPublisher/mapply.py, line
> 160, in mapply
> 
>     (Object: maal_add)
> 
>   File
> /usr/local/zope/Zope-2.3.1-linux2-x86/lib/python/ZPublisher/Publish.py, line
> 112, in call_object
> 
>     (Object: maal_add)
> 
>   File /usr/local/zope/Zope-2.3.1-linux2-x86/lib/python/OFS/DTMLMethod.py,
> line 189, in __call__
> 
>     (Object: maal_add)
> 
>   File
> /usr/local/zope/Zope-2.3.1-linux2-x86/lib/python/DocumentTemplate/DT_String.
> py, line 538, in __call__
> 
>     (Object: maal_add)
> 
>   File
> /usr/local/zope/Zope-2.3.1-linux2-x86/lib/python/DocumentTemplate/DT_With.py
> , line 133, in render
> 
>     (Object: maal.createInObjectManager(REQUEST['id'], REQUEST))
> 
>   File
> /usr/local/zope/Zope-2.3.1-linux2-x86/lib/python/DocumentTemplate/DT_Util.py
> , line 334, in eval
> 
>     (Object: maal.createInObjectManager(REQUEST['id'], REQUEST))
> 
>     (Info: REQUEST)
> 
>   File <string>, line 0, in ?
> 
>   File /usr/local/zope/Zope-2.3.1-linux2-x86/lib/python/ZClasses/ZClass.py,
> line 535, in createInObjectManager
> 
>     (Object: maal)
> 
>   File
> /usr/local/zope/Zope-2.3.1-linux2-x86/lib/python/OFS/ObjectManager.py, line
> 302, in _setObject
> 
>     (Object: CatalogAware)
> 
>   File
> /usr/local/zope/Zope-2.3.1-linux2-x86/lib/python/Products/ZCatalog/CatalogAw
> areness.py, line 114, in manage_afterAdd
> 
>     (Object: CatalogAware)
> 
>   File
> /usr/local/zope/Zope-2.3.1-linux2-x86/lib/python/Products/ZCatalog/CatalogAw
> areness.py, line 184, in index_object
> 
>     (Object: CatalogAware)
> 
>   File
> /usr/local/zope/Zope-2.3.1-linux2-x86/lib/python/Products/ZCatalog/ZCatalog.
> py, line 429, in catalog_object
> 
>     (Object: Traversable)
> 
>   File
> /usr/local/zope/Zope-2.3.1-linux2-x86/lib/python/Products/ZCatalog/Catalog.p
> y, line 448, in catalogObject
> 
>   File
> /usr/local/zope/Zope-2.3.1-linux2-x86/lib/python/SearchIndex/UnTextIndex.py,
> line 323, in index_object
> 
>   File /usr/local/zope/Zope-2.3.1-linux2-x86/lib/python/OFS/DTMLMethod.py,
> line 182, in __call__
> 
>     (Object: PrincipiaSearchSource)
> 
>   File
> /usr/local/zope/Zope-2.3.1-linux2-x86/lib/python/DocumentTemplate/DT_String.
> py, line 538, in __call__
> 
>     (Object: PrincipiaSearchSource)
> 
>   File
> /usr/local/zope/Zope-2.3.1-linux2-x86/lib/python/DocumentTemplate/DT_Return.
> py, line 104, in render
> 
>     (Object: description)
> 
> KeyError: (see above)
> 
> --__--__--
> 
> Message: 50
> From: "Peter Bengtsson" <mail@peterbe.com>
> To: =?iso-8859-1?Q?Dario_Lopez-K=E4sten?= <dario@ita.chalmers.se>,
>         <zope@zope.org>
> Subject: Re: [Zope] Help with iterating thru a list of objects
> Date: Fri, 29 Jun 2001 11:46:32 +0200
> 
> Python Scripts are never overkill. The only disadvantage with replaceing
> DTML logic with small Python Scripts is that the list of objects in the ZMI
> become very long.
> 
> In DTML:
> <dtml-call "REQUEST.set('prev_A','#notlikelytobe#')">
> <dtml-in sql_query>
>     <dtml-if "A == REQUEST['prev_A']">
>         Do something
>     </dtml-if>
>     <dtml-call "REQUEST.set('prev_A',A)">
> </dtml-in>
> 
> Or in the superior alternative (script):
> 
> prev_A= "#notlikelytobe#"
> for rec in context.sql_query():
>     if rec.A == prev_A:
>          Do something
>     prev_A = rec.A
> 
> ----- Original Message -----
> From: "Dario Lopez-Kästen" <dario@ita.chalmers.se>
> To: <zope@zope.org>
> Sent: Friday, June 29, 2001 11:22 AM
> Subject: [Zope] Help with iterating thru a list of objects
> 
> Hello!
> 
> I need to display the results of an sql query and I need to compare the
> value of field A in the current item with the value of field A in the
> previous item, in order to display things correctly.
> 
> Doing this in a Python script seems overkill, since I only need to control
> the display of things.
> 
> I have crancked upp a lot of info in the result of the query for
> optimization reasons so changing the query is out of the question.
> 
> Any help is appreciated.
> 
> Thank you,
> 
> /dario
> 
> - --------------------------------------------------------------------
> Dario Lopez-Kästen     Systems Developer  Chalmers Univ. of Technology
> dario@ita.chalmers.se  ICQ will yield no hits    IT Systems & Services
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> 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 )
> 
> --__--__--
> 
> Message: 51
> Date: Fri, 29 Jun 2001 11:23:33 +0100
> From: David Goodenough <david.goodenough@btconnect.com>
> To: zope@zope.org
> Subject: [Zope] Making sure all users are authenticated
> 
> This is a multi-part message in MIME format.
> --------------F1C0E56FBB61C87FB5237FF5
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
> 
> I should preface this question with a little background.  I come from a
> Lotus Domino world
> where all users are authenticated (not the web interface which allows
> anonymous but the
> client interface).  I need to do something similar in a Zope
> environment, that is to say that
> I want to be sure that all users have authenticated themselves and that
> the scripts can
> find out who they are, but I do not want to make them Managers or
> Owners.
> 
> I suppose that the answer to this is to create a new role (say "User")
> and make sure that
> all the users are enroled in that role and then only allow users with
> that role to view the
> objects that I wish to control in this manner.
> 
> I am relatively new to Zope, and have read the manual, but I am none the
> wiser either as
> to whether this is the right approach, or as to how I go about  adding
> such a new role and
> then how I add such a security filter so that only users with this role
> can access the
> objects, there only seems to be controls for Anonymous, Manager and
> Owner.
> 
> --------------F1C0E56FBB61C87FB5237FF5
> Content-Type: text/x-vcard; charset=us-ascii;
>  name="david.goodenough.vcf"
> Content-Transfer-Encoding: 7bit
> Content-Description: Card for David Goodenough
> Content-Disposition: attachment;
>  filename="david.goodenough.vcf"
> 
> begin:vcard
> n:Goodenough;David
> x-mozilla-html:FALSE
> org:D.G.A. ltd
> adr:;;;;;;
> version:2.1
> email;internet:David.Goodenough@DGA.co.uk
> x-mozilla-cpt:;0
> fn:David Goodenough
> end:vcard
> 
> --------------F1C0E56FBB61C87FB5237FF5--
> 
> --__--__--
> 
> Message: 52
> From: =?iso-8859-1?q?J=F8rgen=20Hermanrud=20Fjeld?= <jhf@hex.no>
> Organization: Fjeld Kurs og Konsulenttjenester
> To: David Goodenough <david.goodenough@btconnect.com>,
>  zope@zope.org
> Subject: Re: [Zope] Making sure all users are authenticated
> Date: Fri, 29 Jun 2001 13:19:40 +0200
> 
> Hi.
> 
> When you add more roles, they become available for giving access rights.
> 
> Sincerely=20
> J=F8rgen
> 
> fredag 29. juni 2001 12:23, skrev David Goodenough:
> > I should preface this question with a little background.  I come from a
> > Lotus Domino world
> > where all users are authenticated (not the web interface which allows
> > anonymous but the
> > client interface).  I need to do something similar in a Zope
> > environment, that is to say that
> > I want to be sure that all users have authenticated themselves and that
> > the scripts can
> > find out who they are, but I do not want to make them Managers or
> > Owners.
> >
> > I suppose that the answer to this is to create a new role (say "User")
> > and make sure that
> > all the users are enroled in that role and then only allow users with
> > that role to view the
> > objects that I wish to control in this manner.
> >
> > I am relatively new to Zope, and have read the manual, but I am none th=
> e
> > wiser either as
> > to whether this is the right approach, or as to how I go about  adding
> > such a new role and
> > then how I add such a security filter so that only users with this role
> > can access the
> > objects, there only seems to be controls for Anonymous, Manager and
> > Owner.
> 
> ----------------------------------------
> Content-Type: text/x-vcard; charset=3D"us-ascii"; name=3D"david.goodenoug=
> h.vcf"
> Content-Transfer-Encoding: 7bit
> Content-Description: Card for David Goodenough
> ----------------------------------------
> 
> --=20
> 
> MVH
> J=F8rgen H. Fjeld
> 
> --__--__--
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> 
> End of Zope Digest

-- 
Alex Finck
 
Epigenomics AG          www.epigenomics.com           Kastanienallee 24
+493024345364                                              10435 Berlin